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
(→References: opcode matrix) |
(XOR) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''ALT0''' is scene slang for the [[Super FX]] state where both the [[ALT1]] and [[ALT2]] flags are clear. Many instructions restore the ALT0 state | '''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: | ||
* [[GSU/ADC|ADC]] R<sub>n</sub> | |||
* [[GSU/ADC|ADC]] #n | |||
* [[ADD]] R<sub>n</sub> | |||
* [[ADD]] #n | |||
* [[GSU/AND|AND]] R<sub>n</sub> | |||
* [[GSU/AND|AND]] #n | |||
* [[ASR]] | |||
* [[BIC]] R<sub>n</sub> | |||
* [[BIC]] #n | |||
* [[CACHE]] | |||
* [[CMODE]] | |||
* [[GSU/CMP|CMP]] R<sub>n</sub> | |||
* [[COLOR]] | |||
* [[GSU/DEC|DEC]] R<sub>n</sub> | |||
* [[DIV2]] | |||
* [[FMULT]] | |||
* [[GETB]] | |||
* [[GETBH]] | |||
* [[GETBL]] | |||
* [[GETBS]] | |||
* [[GETC]] | |||
* [[HIB]] | |||
* [[IBT]] R<sub>n</sub>, #pp | |||
* [[GSU/INC|INC]] R<sub>n</sub> | |||
* [[IWT]] R<sub>n</sub>, #xx | |||
* [[GSU/JMP|JMP]] R<sub>n</sub> | |||
* [[LDB]] (R<sub>m</sub>) | |||
* [[LDW]] (R<sub>m</sub>) | |||
* [[LEA]] R<sub>n</sub>, xx | |||
* [[LINK]] #n | |||
* [[LJMP]] R<sub>n</sub> | |||
* [[GSU/LM|LM]] R<sub>n</sub>, (xx) | |||
* [[LMS]] R<sub>n</sub>, (yy) | |||
* [[LMULT]] | |||
* [[LOB]] | |||
* [[LOOP]] | |||
* [[GSU/LSR|LSR]] | |||
* [[MERGE]] | |||
* [[GSU/MOVE|MOVE]] R<sub>n</sub>, R<sub>n</sub>' | |||
* [[MOVES]] R<sub>n</sub>, R<sub>n</sub>' | |||
* [[MULT]] R<sub>n</sub> | |||
* [[MULT]] #n | |||
* [[GSU/NOP|NOP]] | |||
* [[NOT]] | |||
* [[OR]] R<sub>n</sub> | |||
* [[OR]] #n | |||
* [[PLOT]] | |||
* [[RAMB]] | |||
* [[GSU/ROL|ROL]] | |||
* [[ROMB]] | |||
* [[GSU/ROR|ROR]] | |||
* [[RPIX]] | |||
* [[GSU/SBC|SBC]] R<sub>n</sub> | |||
* [[SBK]] | |||
* [[SEX]] | |||
* [[SM]] (xx), R<sub>n</sub> | |||
* [[SMS]] (yy), R<sub>n</sub> | |||
* [[STB]] (R<sub>m</sub>) | |||
* [[STOP]] | |||
* [[STW]] (R<sub>m</sub>) | |||
* [[SUB]] R<sub>n</sub> | |||
* [[SUB]] #n | |||
* [[SWAP]] | |||
* [[UMULT]] R<sub>n</sub> | |||
* and presumably UMULT #n and XOR too | |||
=== See Also === | === See Also === | ||
* [[ALT3]] | * [[ALT3]] | ||
* [[Super_FX_Opcode_Matrices#ALT1_=_0,_ALT2_=_0]] | |||
* | |||
=== 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