Instruction List (7)
S1C63000 Core CPU
Opcode
ADC
ADC
ADC
SBC
SBC
SBC
INC
INC
DEC
DEC
Operand
%B,[%X]+,n4
%B,[%Y],n4
%B,[%Y]+,n4
[%X],%B,n4
[%X],0,n4
[%X]+,%B,n4
[%X]+,0,n4
[%Y],%B,n4
[%Y],0,n4
[%Y]+,%B,n4
[%Y]+,0,n4
%B,%A,n4
%B,[%X],n4
%B,[%X]+,n4
%B,[%Y],n4
%B,[%Y]+,n4
[%X],%B,n4
[%X],0,n4
[%X]+,%B,n4
[%X]+,0,n4
[%Y],%B,n4
[%Y],0,n4
[%Y]+,%B,n4
[%Y]+,0,n4
[%X],n4
[%X]+,n4
[%Y],n4
[%Y]+,n4
[%X],n4
[%X]+,n4
[%Y],n4
[%Y]+,n4
Basic function
B ← N's adjust (B+[X]+C), X
← X+1
B ← N's adjust (B+[Y]+C)
B ← N's adjust (B+[Y]+C), Y
← Y+1
[X] ← N's adjust ([X]+B+C)
[X] ← N's adjust ([X]+0+C)
[X] ← N's adjust ([X]+B+C), X
← X+1
[X] ← N's adjust ([X]+0+C), X
← X+1
[Y] ← N's adjust ([Y]+B+C)
[Y] ← N's adjust ([Y]+0+C)
[Y] ← N's adjust ([Y]+B+C), Y
← Y+1
[Y] ← N's adjust ([Y]+0+C), Y
← Y+1
B ← N's adjust (B-A-C)
B ← N's adjust (B-[X]-C)
B ← N's adjust (B-[X]-C), X
← X+1
B ← N's adjust (B-[Y]-C)
B ← N's adjust (B-[Y]-C), Y
← Y+1
[X] ← N's adjust ([X]-B-C)
[X] ← N's adjust ([X]-0-C)
[X] ← N's adjust ([X]-B-C), X
← X+1
[X] ← N's adjust ([X]-0-C), X
← X+1
[Y] ← N's adjust ([Y]-B-C)
[Y] ← N's adjust ([Y]-0-C)
[Y] ← N's adjust ([Y]-B-C), Y
← Y+1
[Y] ← N's adjust ([Y]-0-C), Y
← Y+1
[X] ← N's adjust ([X]+1)
[X] ← N's adjust ([X]+1), X
← X+1
[Y] ← N's adjust ([Y]+1)
[Y] ← N's adjust ([Y]+1), Y
← Y+1
[X] ← N's adjust ([X]-1)
[X] ← N's adjust ([X]-1), X
← X+1
[Y] ← N's adjust ([Y]-1)
[Y] ← N's adjust ([Y]-1), Y
← Y+1
Extended function
(when "LDB %EXT, imm8" is executed)
–
B ← N's adjust (B+[FFimm8]+C)
–
[00imm8] ← N's adjust ([00imm8]+B+C)
[00imm8] ← N's adjust ([00imm8]+0+C)
–
–
[FFimm8] ← N's adjust ([FFimm8]+B+C)
[FFimm8] ← N's adjust ([FFimm8]+0+C)
–
–
–
B ← N's adjust (B-[00imm8]-C)
–
B ← N's adjust (B-[FFimm8]-C)
–
[00imm8] ← N's adjust ([00imm8]-B-C)
[00imm8] ← N's adjust ([00imm8]-0-C)
–
–
[FFimm8] ← N's adjust ([FFimm8]-B-C)
[FFimm8] ← N's adjust ([FFimm8]-0-C)
–
–
[00imm8] ← N's adjust ([00imm8]+1)
–
[FFimm8] ← N's adjust ([FFimm8]+1)
–
[00imm8] ← N's adjust ([00imm8]-1)
–
[FFimm8] ← N's adjust ([FFimm8]-1)
–
Symbol
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Clk
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
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
I
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Mnemonic
Classification
Arithmetic
operation
Flags
Remarks