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
(SPC700 -> S-SMP) |
(added ref) |
||
Line 16: | Line 16: | ||
* [[TXA]] | * [[TXA]] | ||
* [[TYA]] | * [[TYA]] | ||
=== Reference === | |||
* https://archive.org/details/0893037893ProgrammingThe65816/page/n53 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:SNES Hardware]] | [[Category:SNES Hardware]] | ||
[[Category:Registers]] | [[Category:Registers]] |
Revision as of 07:26, 23 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 ("B") is still retained even when the accumulator is 8 bits wide.
The S-SMP's accumulator is always 8 bits wide.