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
33
DEY
Decrement Register Y by one
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02 65n02
65r02 65s02
CPU12
Implied DEY 88H
60H
1
2
2
X
X
X
X: Not available.
N V D I Z C
! - - - ! -
N: Set if result is negative
Z: Set if result is 0
EOR
Exclusive-OR memory with Accumulator, A
Å
A XOR memory
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02 65n02 65r02 65s02
CPU12
Immediate
EOR
#dd 49H 46H 2 2 2 2 2 2
Zero Page
EOR aa
45H
07H
2
3
3
3
3
3
Zero Page, X EOR aa, X
55H
0FH
2
4
4
4
X
4
Absolute
EOR
aaaa 4DH 47H 3 4 4 X X X
Absolute, X
EOR aaaa, X
5DH
4FH
3
4 4* X X
X
Absolute, Y
EOR aaaa, Y
59H
4EH
3
4 4* X X
X
(Indirect, X)
EOR (aa, X)
41H
06H
2
6
6
X
X
X
(Indirect), Y
EOR (aa), Y
51H
0EH
2
6 5* 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