We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Accumulator: Difference between revisions
From SnesLab
(created page) |
(see also LDA, STA, PHA, PLA) |
||
Line 6: | Line 6: | ||
The [[SPC700]]'s accumulator is always 8 bits wide. | The [[SPC700]]'s accumulator is always 8 bits wide. | ||
=== See Also === | |||
* [[LDA]] | |||
* [[STA]] | |||
* [[PHA]] | |||
* [[PLA]] | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SNES Hardware]] | [[Category:SNES Hardware]] | ||
[[Category:Registers]] | [[Category:Registers]] |
Revision as of 22:19, 22 November 2023
An Accumulator is a very fast register inside a processor that acts as a mathematical scratch pad.
The 65c816's accumulator can be either 8 or 16 bits in size, as configured by the M flag.
The high byte is still retained even when the accumulator is 8 bits wide.
The SPC700's accumulator is always 8 bits wide.