Appendix 2. Instruction Listing

The 56 instructions of the 6502 microprocessor in alphabetical order. Each individual instruction can be used in a number of different address modes. This gives an actual total of 151 instruction possibilities.

mnemonic +
explanation
address
mode
(n)
hexa-
decimal
opcode
number of
clock pulses(N)
no.
of
bytes
flags
affected






Notes:

  1. Add 1 to N if page boundary is exceeded.
  2. Add 1 to N if jump occurs to the same page; add 2 to N if jump occurs to another page
  3. Borrow = NOT carry (C)
IMM:		immediate addressing
ABS:		absolute addressing
Z:		zero page addressing
A:		accumulator addressing
IMP:		implied addressing
(IND,X):	pre-indexed indirect addressing
(IND),Y:	post-indexed indirect addressing
Z,X:		zero page indexed addressing (X index register)
Z,Y:		zero page indexed addressing (Y index register)
ABS,X:		absolute indexed addressing (X index register)
ABS,Y:		absolute indexed addressing (Y index register)
REL:		relative addressing
IND:		indirect addressing