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

ALT2: Difference between revisions

From SnesLab
Jump to: navigation, search
(added list of instructions that clear ALT2)
(added XOR)
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:


'''ALT2''' is both the name of a [[Super FX]] flag and the flag prefix instruction that sets it.  It is bit 9 of the [[status flag register]].
'''ALT2''' is both the name of a [[Super FX]] flag and the flag prefix instruction that sets it.  It is bit 9 of the [[status flag register]].
==== Syntax ====
<pre>
ALT2
</pre>


The following instructions require ALT2:
The following instructions require ALT2:
Line 117: Line 122:
* [[SWAP]]
* [[SWAP]]
* [[UMULT]] R<sub>n</sub>
* [[UMULT]] R<sub>n</sub>
* and presumably UMULT #n too
* and presumably UMULT #n and XOR too
 
==== Syntax ====
<pre>
ALT2
</pre>


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

Latest revision as of 00:49, 22 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Implied (type 2) 3E 1 byte 3 cycles 3 cycles 1 cycle
Flags Affected
B ALT1 ALT2 O/V S CY Z
. . 1 . . . .

ALT2 is both the name of a Super FX flag and the flag prefix instruction that sets it. It is bit 9 of the status flag register.

Syntax

ALT2

The following instructions require ALT2:

Many instructions clear the ALT2 flag, including:

See Also

External Links