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
7
General Description
This manual intends to guide users through the 6502 Instruction sets. All 6502 instructions
are listed in alphabetical order. However, not all 6502 instructions or addressing modes are
available in all SUNPLUS CPUs. To list the types of SUNPLUS CPU, please obtain a tool,
named x2s.exe, and apply the following syntax in a DOS command line:
C:\>x2s /s
Patch-up Tool CopyRight(c) Sep 08 2000 by SUNPLUS.
2500AD Object Code Convert Program Ver 2.78
The corresponding Instruction Set to each body is:
65B02 (Full Set): SPMC652,ECMC653
65N02 (Full Set): (see note.2) SPL61A,SPL130A,SPL191A,
SPDC256A,SPDC512A,SPDC512B,
SPDC1000A,SPDC1000B
SPLB10A,
SPCP05A, SPCP06A, SPCP08A,
SPCP16A, SPCP18A, SPCP25A, SPCP26A,
SPCP825A, SPCP826A, SPCP835A
65R02 (BIT+TXA+TAX): SPF02A,SPL02C,SPL02D,
SPL03B,SPL03C,
SPL05A,SPL05B,
SPL06A,SPL06B,
SPLB20A,SPLB20A1,
SPLB21A,SPLB22A,
SPLB23A,SPLB24A,
SPLB25A, SPLB26A
SPL128A,SPLG01
65S02 (Only Reduce Set): SPF06A1,SPF18A1,SPF20A,
SPF30A1,SPF30B,
SPL02A
CPU12 / CPU8: (Reduced instrBIT+TXA+TAX)
SPCxxx,SPCRxx,SPMCxx,
SPFA64A,SPFA120A,
SPL08A,SPL08A1,SPL081A,
SPL10A,SPL15A,SPL15B,
SPL25B,SPL25C,SPL30A,
SPL31A,SPL60A,SPL190A,
SPCP02A
Note:
1. Since x2s.exe is updated from time to time, be sure to use the newest version of x2s.exe
2. The CPU type 65N02 has two kinds of body, the one uses standard 6502 OP code, the
other one uses Sunplus OP code. Please refer to the programming guide of the individule
body.