Accumulator Addressing

From NES Hacker Wiki
Revision as of 15:50, 24 October 2012 by TheAlmightyGuru (talk | contribs) (Created page with "'''''Accumulator Addressing''''' is a special type of Implied Addressing that only addresses the accumulator. ==Examples== This example uses ''Accumulator Addressing'' t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Accumulator Addressing is a special type of Implied Addressing that only addresses the accumulator.


Examples

This example uses Accumulator Addressing to transfer the value stored in the accumulator to the X register.

0001:0A        ASL             ; Bit-shift the accumulator left.


Opcodes

There are only a couple of opcodes that only address the Accumulator: