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
39
LSR
Local Shift Right
7 6 5 4 3 2 1 0
0
C
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02 65n02
65r02 65s02
CPU12
Accumulator LSR A
4AH
C2H
1
2
2
X
X
X
Zero Page LSR aa
46H
83H
2
5
5
X
X
X
Zero Page, X LSR aa, X
56H
8BH
2
6
6
X
X
X
Absolute LSR
aaaa
4EH
C3H
3
6
6
X
X
X
Absolute, X LSR aaaa, X
5EH
CBH
3
6 6* X X X
* Add 1 clock cycle if page boundary is crossed.
X: Not available.
N V D I Z C
! - - - ! !
N: Set if result is negative
Z: Set if result is 0
C: Set if the bit shifted from the least significant bit is 1.
NOP
No operation
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02 65n02
65r02 65s02
CPU12
Implied NOP EAH
F2H 1 2 2 2 2 2
N V D I Z C
- - - - - -