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
35
Bit Inverse.
Toggle BITn of $aa.
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02
65n02
65r02 65s02
CPU12
Zero Page
INV aa, 0
87H
A5H
2
5 X X X X
Zero Page
INV aa, 1
97H
ADH
2
5 X X X X
Zero Page
INV aa, 2
A7H
B5H
2
5 X X X X
Zero Page
INV aa, 3
B7H
BDH
2
5 X X X X
Zero Page
INV aa, 4
C7H
A7H
2
5 X X X X
Zero Page
INV aa, 5
D7H
AFH
2
5 X X X X
Zero Page
INV aa, 6
E7H
B7H
2
5 X X X X
Zero Page
INV aa, 7
F7H
BFH
2
5 X X X X
X: Not available.
N V D I Z C
- - - - - -
INX
Increment Register X by one
Available Instruction
& No. Cycles
Addressing
mode
Assembly
Language
Form
6502
Opcode
Sunplus
Opcode
No.
Bytes
65b02 65n02 65r02 65s02
CPU12
Implied INX E8H 72H 1 2 2 2 2 2
N V D I Z C
! - - - ! -
N: Set if result is negative
Z: Set if result is 0