Instruction List (6)
S1C63000 Core CPU
Opcode
SBC
CMP
CMP
CMP
CMP
INC
DEC
ADC
Operand
[%Y],%A
[%Y],%B
[%Y],imm4
[%Y]+,%A
[%Y]+,%B
[%Y]+,imm4
%A,%A
%A,%B
%A,imm4
%A,[%X]
%A,[%X]+
%A,[%Y]
%A,[%Y]+
%B,%A
%B,%B
%B,imm4
%B,[%X]
%B,[%X]+
%B,[%Y]
%B,[%Y]+
[%X],%A
[%X],%B
[%X],imm4
[%X]+,%A
[%X]+,%B
[%X]+,imm4
[%Y],%A
[%Y],%B
[%Y],imm4
[%Y]+,%A
[%Y]+,%B
[%Y]+,imm4
[00addr6]
[00addr6]
%B,%A,n4
%B,[%X],n4
Basic function
[Y] ← [Y]-A-C
[Y] ← [Y]-B-C
[Y] ← [Y]-imm4-C
[Y] ← [Y]-A-C, Y ← Y+1
[Y] ← [Y]-B-C, Y ← Y+1
[Y] ← [Y]-imm4-C, Y
← Y+1
A-A
A-B
A-imm4
A-[X]
A-[X], X ← X+1
A-[Y]
A-[Y], Y ← Y+1
B-A
B-B
B-imm4
B-[X]
B-[X], X ← X+1
B-[Y]
B-[Y], Y ← Y+1
[X]-A
[X]-B
[X]-imm4
[X]-A, X ← X+1
[X]-B, X ← X+1
[X]-imm4, X ← X+1
[Y]-A
[Y]-B
[Y]-imm4
[Y]-A, Y ← Y+1
[Y]-B, Y ← Y+1
[Y]-imm4, Y ← Y+1
[00addr6] ← [00addr6]+1
[00addr6] ← [00addr6]-1
B ← N's adjust (B+A+C)
B ← N's adjust (B+[X]+C)
Extended function
(when "LDB %EXT, imm8" is executed)
[FFimm8] ← [FFimm8]-A-C
[FFimm8] ← [FFimm8]-B-C
[FFimm8] ← [FFimm8]-imm4-C
–
–
–
–
–
–
A-[00imm8]
–
A-[FFimm8]
–
–
–
–
B-[00imm8]
–
B-[FFimm8]
–
[00imm8]-A
[00imm8]-B
[00imm8]-imm4
–
–
–
[FFimm8]-A
[FFimm8]-B
[FFimm8]-imm4
–
–
–
–
–
–
B ← N's adjust (B+[00imm8]+C)
Symbol
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
●
●
–
–
Clk
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
C
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
Z
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
E
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
I
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Mnemonic
Classification
Arithmetic
operation
Flags
Remarks