We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
ALT1: Difference between revisions
From SnesLab
(linkify) |
(subscripted) |
||
Line 41: | Line 41: | ||
The following instructions require ALT1: | The following instructions require ALT1: | ||
* ADC | * ADC R<sub>n</sub> | ||
* [[BIC]] | * [[BIC]] R<sub>n</sub> | ||
* [[CMODE]] | * [[CMODE]] | ||
* [[DIV2]] | * [[DIV2]] | ||
* [[GETBH]] | * [[GETBH]] | ||
* LDB ( | * LDB (R<sub>m</sub>) | ||
* [[LJMP]] | * [[LJMP]] | ||
* LM | * LM R<sub>n</sub>, (xx) | ||
* LMS | * LMS R<sub>n</sub>, (yy) | ||
* [[LMULT]] | * [[LMULT]] | ||
* [[RPIX]] | * [[RPIX]] | ||
* SBC | * SBC R<sub>n</sub> | ||
* STB ( | * STB (R<sub>m</sub>) | ||
* [[UMULT]] | * [[UMULT]] R<sub>n</sub> | ||
=== See Also === | === See Also === |
Revision as of 22:42, 5 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
Implied (type 2) | 3D | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
. | 1 | . | . | . | . | . |
ALT1 is both the name of a Super FX flag and the flag prefix instruction that sets it. It is bit 8 of the status flag register.
The following instructions require ALT1:
- ADC Rn
- BIC Rn
- CMODE
- DIV2
- GETBH
- LDB (Rm)
- LJMP
- LM Rn, (xx)
- LMS Rn, (yy)
- LMULT
- RPIX
- SBC Rn
- STB (Rm)
- UMULT Rn
See Also
External Links
- Official Nintendo documentation on ALT1: 9.8 on page 2-9-7 of Book II