We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Source Register: Difference between revisions
From SnesLab
(linkify AND) |
(linkify ADC) |
||
Line 1: | Line 1: | ||
The '''Source Register''' (S<sub>reg</sub>) exists on the [[Super FX]]. It is assigned with [[FROM]]. It supplies the input for many instructions, including: | The '''Source Register''' (S<sub>reg</sub>) exists on the [[Super FX]]. It is assigned with [[FROM]]. It supplies the input for many instructions, including: | ||
* ADC R<sub>n</sub> | * [[ADC (Super FX)|ADC]] R<sub>n</sub> | ||
* ADC #n | * [[ADC (Super FX)|ADC]] #n | ||
* [[ADD]] R<sub>n</sub> | * [[ADD]] R<sub>n</sub> | ||
* [[ADD]] #n | * [[ADD]] #n |
Revision as of 01:51, 8 July 2024
The Source Register (Sreg) exists on the Super FX. It is assigned with FROM. It supplies the input for many instructions, including:
- ADC Rn
- ADC #n
- ADD Rn
- ADD #n
- AND Rn
- AND #n
- ASR
- BIC Rn
- BIC #n
- CMODE
- CMP Rn
- COLOR
- DIV2
- FMULT
- GETBH
- GETBL
- HIB
- LJMP
- LMULT
- LOB
- LSR
- MULT Rn
- MULT #n
- NOT
- OR Rn
- OR #n
- RAMB
- ROL
- ROMB
- ROR
- SBC Rn
- SBK
- SEX
- STB
- STW
- SUB Rn
- SUB #n
- SWAP
- UMULT
Any register from R0 to R15 can serve as Sreg.