S
un
pl
us
IT
C
on
fid
en
tia
l
F
or
A
D
D
In
te
rn
at
io
na
l L
im
ite
d
U
se
O
nl
y
CPU6502 Instruction Manual v2.1
Sunplus reserves the rights to change this documentation without prior notice.
09/13/2005
16
Zero Page Indexed addressing Mode
The zero page indexed addressing mode uses two-part (adr 08 and X) to specify a memory
address.
Operation:
OP-Code
Adr 08, X
Example:
LDX
#$20
LDA
#$77
STA
$60, X
The new address = $60 + $20 = $80
Store #77H into $80.
77
02
mm
mm
A
SP
X
PC
77
B6
Data Memory
0060
0080
36
$20 + $60 = $80