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
Jump to: navigation, search
(default)
(asm category)
 
(3 intermediate revisions by the same user not shown)
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]] or [[WITH]].  It supplies the input for many instructions, including:


* [[ADC (Super FX)|ADC]] R<sub>n</sub>
* [[ADC (Super FX)|ADC]] R<sub>n</sub>
Line 42: Line 42:


Any register from R<sub>0</sub> to R<sub>15</sub> can serve as S<sub>reg</sub>.  R<sub>0</sub> is the default.
Any register from R<sub>0</sub> to R<sub>15</sub> can serve as S<sub>reg</sub>.  R<sub>0</sub> is the default.
Some instructions ignore the source register.  No instructions modify its value.


=== See Also ===
=== See Also ===
Line 48: Line 50:
[[Category:Registers]]
[[Category:Registers]]
[[Category:Super FX]]
[[Category:Super FX]]
[[Category:ASM]]

Latest revision as of 20:11, 4 August 2024

The Source Register (Sreg) exists on the Super FX. It is assigned with FROM or WITH. It supplies the input for many instructions, including:

Any register from R0 to R15 can serve as Sreg. R0 is the default.

Some instructions ignore the source register. No instructions modify its value.

See Also