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 Addressing: Difference between revisions
From SnesLab
(simple admodes category) |
(→References: de n'd page number) |
||
Line 26: | Line 26: | ||
=== Reference === | === Reference === | ||
# [[Eyes & Lichty]], page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/387 | # [[Eyes & Lichty]], page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/387 | ||
# page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/ | # page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/126 | ||
# section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | # section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | ||
* Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.6 | * Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.6 |
Revision as of 00:20, 24 July 2024
There are six instructions that support Accumulator Addressing on the 65c816. They are:
In this admode, the accumulator is the operand.[3] They all are one byte long.
Syntax
ROR RORA ROR A
Interestingly, XBA is not considered to use accumulator addressing.
See Also
Reference
- Eyes & Lichty, page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/387
- page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/126
- section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.6