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
(added admode) |
(→Reference: added subparagraph number) |
||
Line 18: | Line 18: | ||
* [[Accumulator Addressing]] | * [[Accumulator Addressing]] | ||
=== | === References === | ||
* [[Eyes & Lichty]] page 27, https://archive.org/details/0893037893ProgrammingThe65816/page/n53 | * [[Eyes & Lichty]] page 27, https://archive.org/details/0893037893ProgrammingThe65816/page/n53 | ||
* https://archive.org/details/SNESDevManual/book1/page/n182 | * subparagraph 8.1.1 A Register https://archive.org/details/SNESDevManual/book1/page/n182 | ||
[[Category:ASM]] | [[Category:ASM]] |
Revision as of 19:08, 12 July 2024
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. Labiak calls this 16-bit memory mode.
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.
See Also
References
- Eyes & Lichty page 27, https://archive.org/details/0893037893ProgrammingThe65816/page/n53
- subparagraph 8.1.1 A Register https://archive.org/details/SNESDevManual/book1/page/n182