We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

OR (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(made basic info table wider)
(added syntax)
Line 45: Line 45:


'''OR''' is a [[Super FX]] instruction that performs a logical bitwise OR between the [[source register]] and its operand.  The disjunction is stored in the [[destination register]].  The operand may be any register from R<sub>1</sub> to R<sub>15</sub> or any immediate value from 1 to 15.
'''OR''' is a [[Super FX]] instruction that performs a logical bitwise OR between the [[source register]] and its operand.  The disjunction is stored in the [[destination register]].  The operand may be any register from R<sub>1</sub> to R<sub>15</sub> or any immediate value from 1 to 15.
==== Syntax ====
<pre>
OR Rn
OR #n
</pre>


=== See Also ===
=== See Also ===

Revision as of 02:26, 4 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Immediate 3ECn 2 bytes 6 cycles 6 cycles 2 cycle
Implied Cn 1 byte 3 cycles 3 cycles 1 cycle
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . .

OR is a Super FX instruction that performs a logical bitwise OR between the source register and its operand. The disjunction is stored in the destination register. The operand may be any register from R1 to R15 or any immediate value from 1 to 15.

Syntax

OR Rn
OR #n

See Also

External Links