We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
XOR (Super FX): Difference between revisions
From SnesLab
(added syntax) |
(blurb about sreg/dreg) |
||
Line 34: | Line 34: | ||
'''XOR''' is an undocumented {{dubious}} (XOR is mentioned on page 2-2-7 of the Nintendo documentation) [[Super FX]] instruction that performs an exculsive or. | '''XOR''' is an undocumented {{dubious}} (XOR is mentioned on page 2-2-7 of the Nintendo documentation) [[Super FX]] instruction that performs an exculsive or. | ||
The source and destination registers should be specified in advance using [[WITH]], [[FROM]], or [[TO]]. Otherwise, R<sub>0</sub> serves as the default. | |||
==== Syntax ==== | ==== Syntax ==== |
Revision as of 19:13, 9 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
C | 2 bytes |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
XOR is an undocumented Template:dubious (XOR is mentioned on page 2-2-7 of the Nintendo documentation) Super FX instruction that performs an exculsive or.
The source and destination registers should be specified in advance using WITH, FROM, or TO. Otherwise, R0 serves as the default.
Syntax
XOR Rn XOR #n