Open main menu

CDOT Wiki β

Changes

6502 Addressing Modes

132 bytes added, 16:19, 14 September 2021
Indirect, Y
An 8-bit address identifies a pointer. The value of the Y register is added to the address contained in the pointer. Effectively, the pointer is the base address and the Y register is an index past that base address.
LDA ($10),y; if y=4, and the pointer at $10 (and $11) holds the value $FF00, then the accumulator is loaded from the address ($FF00+$04)=$FF04
== Relative ==