Open main menu

CDOT Wiki β

Changes

6502 Addressing Modes

145 bytes added, 16:20, 14 September 2021
Relative
An 8-bit signed offset is provided. This value is added to the program counter (PC) to find the effective address.
BNE $0600 ; The value "$0600" is assembled into a signed offset(note that $0600 is '''not''' the value of the argument in the assembled code -- the offset is a one-byte signed value calculated by the assembler). If the The target must be in the range of (-128:127) bytes of the current PC value.
== Zero page ==