Instruction List (7)

S1C63000 Core CPU

Classification

Arithmetic operation

Remarks

Mnemonic

Basic function

Opcode

Operand

 

ADC

%B,[%X]+,n4

B N's adjust (B+[X]+C), XX+1

 

%B,[%Y],n4

B N's adjust (B+[Y]+C)

 

%B,[%Y]+,n4

B N's adjust (B+[Y]+C), YY+1

ADC

[%X],%B,n4

[X] N's adjust ([X]+B+C)

 

[%X],0,n4

[X] N's adjust ([X]+0+C)

 

[%X]+,%B,n4

[X] N's adjust ([X]+B+C), XX+1

 

[%X]+,0,n4

[X] N's adjust ([X]+0+C), XX+1

ADC

[%Y],%B,n4

[Y] N's adjust ([Y]+B+C)

 

[%Y],0,n4

[Y] N's adjust ([Y]+0+C)

 

[%Y]+,%B,n4

[Y] N's adjust ([Y]+B+C), YY+1

 

[%Y]+,0,n4

[Y] N's adjust ([Y]+0+C), YY+1

SBC

%B,%A,n4

B N's adjust (B-A-C)

 

%B,[%X],n4

B N's adjust (B-[X]-C)

 

%B,[%X]+,n4

B N's adjust (B-[X]-C), XX+1

 

%B,[%Y],n4

B N's adjust (B-[Y]-C)

 

%B,[%Y]+,n4

B N's adjust (B-[Y]-C), YY+1

SBC

[%X],%B,n4

[X] N's adjust ([X]-B-C)

 

[%X],0,n4

[X] N's adjust ([X]-0-C)

 

[%X]+,%B,n4

[X] N's adjust ([X]-B-C), XX+1

 

[%X]+,0,n4

[X] N's adjust ([X]-0-C), XX+1

SBC

[%Y],%B,n4

[Y] N's adjust ([Y]-B-C)

 

[%Y],0,n4

[Y] N's adjust ([Y]-0-C)

 

[%Y]+,%B,n4

[Y] N's adjust ([Y]-B-C), YY+1

 

[%Y]+,0,n4

[Y] N's adjust ([Y]-0-C), YY+1

INC

[%X],n4

[X] N's adjust ([X]+1)

 

[%X]+,n4

[X] N's adjust ([X]+1), XX+1

INC

[%Y],n4

[Y] N's adjust ([Y]+1)

 

[%Y]+,n4

[Y] N's adjust ([Y]+1), YY+1

DEC

[%X],n4

[X] N's adjust ([X]-1)

 

[%X]+,n4

[X] N's adjust ([X]-1), XX+1

DEC

[%Y],n4

[Y] N's adjust ([Y]-1)

 

[%Y]+,n4

[Y] N's adjust ([Y]-1), YY+1

Extended function

Clk

 

Flags

Symbol

(when "LDB %EXT, imm8" is executed)

E

I C Z

 

 

2

0

↔ ↔

B N's adjust (B+[FFimm8]+C)

2

0

↔ ↔

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]+B+C)

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]+0+C)

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]+B+C)

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]+0+C)

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

B N's adjust (B-[00imm8]-C)

2

0

↔ ↔

2

0

↔ ↔

B N's adjust (B-[FFimm8]-C)

2

0

↔ ↔

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]-B-C)

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]-0-C)

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]-B-C)

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]-0-C)

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]+1)

2

0

↔ ↔

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]+1)

2

0

↔ ↔

2

0

↔ ↔

[00imm8] N's adjust ([00imm8]-1)

2

0

↔ ↔

2

0

↔ ↔

[FFimm8] N's adjust ([FFimm8]-1)

2

0

↔ ↔

2

0

↔ ↔