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
Jump to: navigation, search
(subscripted m)
(XOR)
 
(16 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, including:
'''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:


Many instructions restore the ALT0 state, including:
* [[GSU/ADC|ADC]] R<sub>n</sub>
 
* [[GSU/ADC|ADC]] #n
* ADC R<sub>n</sub>
* [[ADD]] R<sub>n</sub>
* ADC #n
* [[ADD]] #n
* ADD R<sub>n</sub>
* [[GSU/AND|AND]] R<sub>n</sub>
* ADD #n
* [[GSU/AND|AND]] #n
* AND R<sub>n</sub>
* [[ASR]]
* AND #n
* [[BIC]] R<sub>n</sub>
* ASR
* [[BIC]] #n
* BIC R<sub>n</sub>
* [[CACHE]]
* BIC #n
* [[CMODE]]
* CACHE
* [[GSU/CMP|CMP]] R<sub>n</sub>
* CMODE
* [[COLOR]]
* CMP R<sub>n</sub>
* [[GSU/DEC|DEC]] R<sub>n</sub>
* COLOR
* [[DIV2]]
* DEC R<sub>n</sub>
* [[FMULT]]
* DIV2
* [[GETB]]
* FMULT
* [[GETBH]]
* GETB
* [[GETBL]]
* GETBH
* [[GETBS]]
* GETBL
* [[GETC]]
* GETBS
* [[HIB]]
* GETC
* [[IBT]] R<sub>n</sub>, #pp
* HIB
* [[GSU/INC|INC]] R<sub>n</sub>
* IBT R<sub>n</sub>, #pp
* [[IWT]] R<sub>n</sub>, #xx
* INC R<sub>n</sub>
* [[GSU/JMP|JMP]] R<sub>n</sub>
* IWT R<sub>n</sub>, #xx
* [[LDB]] (R<sub>m</sub>)
* JMP R<sub>n</sub>
* [[LDW]] (R<sub>m</sub>)
* LDB (R<sub>m</sub>)
* [[LEA]] R<sub>n</sub>, xx
* LDW (R<sub>m</sub>)
* [[LINK]] #n
* LEA Rn, xx
* [[LJMP]] R<sub>n</sub>
* LINK #n
* [[GSU/LM|LM]] R<sub>n</sub>, (xx)
* LJMP R<sub>n</sub>
* [[LMS]] R<sub>n</sub>, (yy)
* LM R<sub>n</sub>, (xx)
* [[LMULT]]
* LMS R<sub>n</sub>, (yy)
* [[LOB]]
* LMULT
* [[LOOP]]
* LOB
* [[GSU/LSR|LSR]]
* LOOP
* [[MERGE]]
* LSR
* [[GSU/MOVE|MOVE]] R<sub>n</sub>, R<sub>n</sub>'
* MERGE
* [[MOVES]] R<sub>n</sub>, R<sub>n</sub>'
* MOVE R<sub>n</sub>, R<sub>n</sub>'
* [[MULT]] R<sub>n</sub>
* MOVES R<sub>n</sub>, R<sub>n</sub>'
* [[MULT]] #n
* MULT R<sub>n</sub>
* [[GSU/NOP|NOP]]
* MULT #n
* [[NOT]]
* NOP
* [[OR]] R<sub>n</sub>
* NOT
* [[OR]] #n
* OR R<sub>n</sub>
* [[PLOT]]
* OR #n
* [[RAMB]]
* PLOT
* [[GSU/ROL|ROL]]
* RAMB
* [[ROMB]]
* ROL
* [[GSU/ROR|ROR]]
* ROMB
* [[RPIX]]
* ROR
* [[GSU/SBC|SBC]] R<sub>n</sub>
* RPIX
* [[SBK]]
* SBC R<sub>n</sub>
* [[SEX]]
* SBK
* [[SM]] (xx), R<sub>n</sub>
* SEX
* [[SMS]] (yy), R<sub>n</sub>
* SM (xx), R<sub>n</sub>
* [[STB]] (R<sub>m</sub>)
* SMS (yy), R<sub>n</sub>
* [[STOP]]
* STB (R<sub>m</sub>)
* [[STW]] (R<sub>m</sub>)
* STOP
* [[SUB]] R<sub>n</sub>
* STW (R<sub>m</sub>)
* [[SUB]] #n
* SUB R<sub>n</sub>
* [[SWAP]]
* SUB #n
* [[UMULT]] R<sub>n</sub>
* SWAP
* and presumably UMULT #n and XOR too
* UMULT R<sub>n</sub>
* and presumably UMULT #n too


=== See Also ===
=== See Also ===
* [[ALT3]]
* [[ALT3]]
 
* [[Super_FX_Opcode_Matrices#ALT1_=_0,_ALT2_=_0]]
=== See Also ===
* https://sneslab.net/wiki/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:

See Also

References