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
m (Jeffythedragonslayer moved page YA to YA (SPC700): SPC700 in title) |
(MOVW can be used) |
||
Line 1: | Line 1: | ||
'''YA''' is a 16-bit [[SPC700]] register who's high byte is the [[Y index register]] and who's low byte is accumulator. | '''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. | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SPC700]] | [[Category:SPC700]] |
Revision as of 02:48, 3 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.