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 instructions requiring ALT2)
(subscripted)
Line 47: Line 47:
* OR #n
* OR #n
* RAMB
* RAMB
* SM (xx), Rn
* SM (xx), R<sub>n</sub>
* SMS (yy), Rn
* SMS (yy), R<sub>n</sub>
* SUB #n
* SUB #n



Revision as of 22:54, 5 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.

The following instructions require ALT2:

  • ADD #n
  • AND #n
  • GETBL
  • MULT #n
  • OR #n
  • RAMB
  • SM (xx), Rn
  • SMS (yy), Rn
  • SUB #n

See Also

External Links