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
Jump to: navigation, search
(don't imply this is the only admode they support)
(→‎References: de n'd page number)
Line 21: Line 21:


=== Reference ===
=== Reference ===
# [[Eyes & Lichty]], page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/n413
# [[Eyes & Lichty]], page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/387
# page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/n152
# page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/n152
# 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

Revision as of 21:11, 15 July 2024

There are six instructions that support Accumulator Addressing on the 65c816. They are:

  • ASL (opcode 0A)
  • DEC (opcode 3A)
  • INC (opcode 1A)
  • LSR (opcode 4A)
  • ROL (opcode 2A)
  • ROR (opcode 6A)

In this admode, the accumulator is the operand.[3]

Syntax

ROR

See Also

Reference

  1. Eyes & Lichty, page 387: https://archive.org/details/0893037893ProgrammingThe65816/page/387
  2. page 126, lbid: https://archive.org/details/0893037893ProgrammingThe65816/page/n152
  3. section 3.5.8 of 65c816 datasheet, https://westerndesigncenter.com/wdc/documentation/w65c816s.pdf