We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
ALT0: Difference between revisions
From SnesLab
(linkify) |
(XOR) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
* [[LDB]] (R<sub>m</sub>) | * [[LDB]] (R<sub>m</sub>) | ||
* [[LDW]] (R<sub>m</sub>) | * [[LDW]] (R<sub>m</sub>) | ||
* [[LEA]] | * [[LEA]] R<sub>n</sub>, xx | ||
* [[LINK]] #n | * [[LINK]] #n | ||
* [[LJMP]] R<sub>n</sub> | * [[LJMP]] R<sub>n</sub> | ||
Line 43: | Line 43: | ||
* [[MULT]] R<sub>n</sub> | * [[MULT]] R<sub>n</sub> | ||
* [[MULT]] #n | * [[MULT]] #n | ||
* [[GSU/NOP]] | * [[GSU/NOP|NOP]] | ||
* [[NOT]] | * [[NOT]] | ||
* [[OR]] R<sub>n</sub> | * [[OR]] R<sub>n</sub> | ||
Line 65: | Line 65: | ||
* [[SWAP]] | * [[SWAP]] | ||
* [[UMULT]] R<sub>n</sub> | * [[UMULT]] R<sub>n</sub> | ||
* and presumably UMULT #n too | * and presumably UMULT #n and XOR too | ||
=== See Also === | === See Also === | ||
Line 73: | Line 73: | ||
=== References === | === References === | ||
* ares source: https://github.com/ares-emulator/ares/blob/master/ares/component/processor/gsu/disassembler.cpp#L37 | * ares source: https://github.com/ares-emulator/ares/blob/master/ares/component/processor/gsu/disassembler.cpp#L37 | ||
* Table 2-4-2 on [https://archive.org/details/SNESDevManual/book2/page/n110 page 2-4-4 of Book II] of the official Super Nintendo development manual | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Super FX]] | [[Category:Super FX]] | ||
[[Category:Scene Slang]] | [[Category:Scene Slang]] |
Latest revision as of 00:49, 22 July 2024
ALT0 is scene slang for the Super FX state where both the ALT1 and ALT2 flags are clear. Many instructions restore the ALT0 state, including:
- ADC Rn
- ADC #n
- ADD Rn
- ADD #n
- AND Rn
- AND #n
- ASR
- BIC Rn
- BIC #n
- CACHE
- CMODE
- CMP Rn
- COLOR
- DEC Rn
- DIV2
- FMULT
- GETB
- GETBH
- GETBL
- GETBS
- GETC
- HIB
- IBT Rn, #pp
- INC Rn
- IWT Rn, #xx
- JMP Rn
- LDB (Rm)
- LDW (Rm)
- LEA Rn, xx
- LINK #n
- LJMP Rn
- LM Rn, (xx)
- LMS Rn, (yy)
- LMULT
- LOB
- LOOP
- LSR
- MERGE
- MOVE Rn, Rn'
- MOVES Rn, Rn'
- MULT Rn
- MULT #n
- NOP
- NOT
- OR Rn
- OR #n
- PLOT
- RAMB
- ROL
- ROMB
- ROR
- RPIX
- SBC Rn
- SBK
- SEX
- SM (xx), Rn
- SMS (yy), Rn
- STB (Rm)
- STOP
- STW (Rm)
- SUB Rn
- SUB #n
- SWAP
- UMULT Rn
- and presumably UMULT #n and XOR too
See Also
References
- ares source: https://github.com/ares-emulator/ares/blob/master/ares/component/processor/gsu/disassembler.cpp#L37
- Table 2-4-2 on page 2-4-4 of Book II of the official Super Nintendo development manual