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
(→Reference: added E&L archive link) |
(section 3.5.8 of 65c816 datasheet) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
There are six instructions using '''Accumulator Addressing''' on the [[65c816]]. They are: | There are six instructions using '''Accumulator Addressing''' on the [[65c816]]. They are: | ||
* [[ASL]] | * [[ASL]] (opcode 0A) | ||
* [[DEC]] | * [[DEC]] (opcode 3A) | ||
* [[INC]] | * [[INC]] (opcode 1A) | ||
* [[LSR]] | * [[LSR]] (opcode 4A) | ||
* [[ROL]] | * [[ROL]] (opcode 2A) | ||
* [[ROR]] | * [[ROR]] (opcode 6A) | ||
In this admode, the [[accumulator]] is the operand.<sup>[3]</sup> | |||
=== See Also === | |||
* [[Implied Addressing]] | |||
* [[Immediate Addressing]] | |||
=== Reference === | === Reference === | ||
# [[Eyes & Lichty]], page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/n413 | |||
# page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/n152 | |||
# section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Addressing Modes]] | [[Category:Addressing Modes]] | ||
[[Category:Inherited from 6502]] |
Latest revision as of 16:24, 27 June 2024
There are six instructions using Accumulator Addressing on the 65c816. They are:
In this admode, the accumulator is the operand.[3]
See Also
Reference
- Eyes & Lichty, page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/n413
- page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/n152
- section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf