Instruction List (3)
S1C63000 Core CPU
Opcode
EX
EX
EX
ADD
ADD
ADD
ADD
Operand
%A,%B
%A,[%X]
%A,[%X]+
%A,[%Y]
%A,[%Y]+
%B,[%X]
%B,[%X]+
%B,[%Y]
%B,[%Y]+
%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
Basic function
A ↔ B
A ↔ [X]
A ↔ [X], X ← X+1
A ↔ [Y]
A ↔ [Y], Y ← Y+1
B ↔ [X]
B ↔ [X], X ← X+1
B ↔ [Y]
B ↔ [Y], Y ← Y+1
A ← A+A
A ← A+B
A ← A+imm4
A ← A+[X]
A ← A+[X], X ← X+1
A ← A+[Y]
A ← A+[Y], Y ← Y+1
B ← B+A
B ← B+B
B ← B+imm4
B ← B+[X]
B ← B+[X], X ← X+1
B ← B+[Y]
B ← B+[Y], Y ← Y+1
[X] ← [X]+A
[X] ← [X]+B
[X] ← [X]+imm4
[X] ← [X]+A, X ← X+1
[X] ← [X]+B, X ← X+1
[X] ← [X]+imm4, X ← X+1
[Y] ← [Y]+A
[Y] ← [Y]+B
[Y] ← [Y]+imm4
[Y] ← [Y]+A, Y ← Y+1
[Y] ← [Y]+B, Y ← Y+1
[Y] ← [Y]+imm4, Y ← Y+1
Extended function
(when "LDB %EXT, imm8" is executed)
–
A ↔ [00imm8]
–
A ↔ [FFimm8]
–
B ↔ [00imm8]
–
B ↔ [FFimm8]
–
–
–
–
A ← A+[00imm8]
–
A ← A+[FFimm8]
–
–
–
–
B ← B+[00imm8]
–
B ← B+[FFimm8]
–
[00imm8] ← [00imm8]+A
[00imm8] ← [00imm8]+B
[00imm8] ← [00imm8]+imm4
–
–
–
[FFimm8] ← [FFimm8]+A
[FFimm8] ← [FFimm8]+B
[FFimm8] ← [FFimm8]+imm4
–
–
–
Symbol
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Clk
1
2
2
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
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
I
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Mnemonic
Classification
4-bit data
transfer
Arithmetic
operation
Flags
Remarks