We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
YA (SPC700): Difference between revisions
From SnesLab
(added link to official dev manual) |
(see also ADDW/SUBW) |
||
Line 2: | Line 2: | ||
[[MOVW]] can be used to read or write all 16 bits of YA in a single instruction. | [[MOVW]] can be used to read or write all 16 bits of YA in a single instruction. | ||
=== See Also === | |||
* [[ADDW]] | |||
* [[SUBW]] | |||
=== Reference === | === Reference === |
Revision as of 23:13, 16 July 2023
YA is a virtual 16-bit SPC700 register who's high byte is the Y index register and who's low byte is accumulator.
MOVW can be used to read or write all 16 bits of YA in a single instruction.
See Also
Reference
- Appendix C-1 of Book I of the official Super Nintendo development manual