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
17
Implied addressing mode
The implied addressing mode does not have any address.
Operation:
OP-Code
Example:
TAX
; To transfer data from accumulator to register X.
CLC
; To clear carry
Accumulator addressing mode
The accumulator addressing mode does not have any address. The instruction operates on
the data in the accumulator.
Operation:
OP-Code
Example:
ROL Rotate Left with Carry
ROR
Rotate Right with Carry
7 6 5 4 3 2 1 0 C
ROL
7 6 5 4 3 2 1 0 C
ROR