Instruction List (6)

S1C63000 Core CPU

Classification

Arithmetic operation

Mnemonic

Basic function

Opcode

Operand

 

SBC

[%Y],%A

[Y] [Y]-A-C

 

[%Y],%B

[Y] [Y]-B-C

 

[%Y],imm4

[Y] [Y]-imm4-C

 

[%Y]+,%A

[Y] [Y]-A-C, Y Y+1

 

[%Y]+,%B

[Y] [Y]-B-C, Y Y+1

 

[%Y]+,imm4

[Y] [Y]-imm4-C, Y Y+1

CMP

%A,%A

A-A

 

%A,%B

A-B

 

%A,imm4

A-imm4

 

%A,[%X]

A-[X]

 

%A,[%X]+

A-[X], X X+1

 

%A,[%Y]

A-[Y]

 

%A,[%Y]+

A-[Y], Y Y+1

CMP

%B,%A

B-A

 

%B,%B

B-B

 

%B,imm4

B-imm4

 

%B,[%X]

B-[X]

 

%B,[%X]+

B-[X], X X+1

 

%B,[%Y]

B-[Y]

 

%B,[%Y]+

B-[Y], Y Y+1

CMP

[%X],%A

[X]-A

 

[%X],%B

[X]-B

 

[%X],imm4

[X]-imm4

 

[%X]+,%A

[X]-A, X X+1

 

[%X]+,%B

[X]-B, X X+1

 

[%X]+,imm4

[X]-imm4, X X+1

CMP

[%Y],%A

[Y]-A

 

[%Y],%B

[Y]-B

 

[%Y],imm4

[Y]-imm4

 

[%Y]+,%A

[Y]-A, Y Y+1

 

[%Y]+,%B

[Y]-B, Y Y+1

 

[%Y]+,imm4

[Y]-imm4, Y Y+1

INC

[00addr6]

[00addr6] [00addr6]+1

DEC

[00addr6]

[00addr6] [00addr6]-1

ADC

%B,%A,n4

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

 

%B,[%X],n4

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

Extended function

Clk

 

Flags

Symbol

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

E

I C Z

 

 

[FFimm8] [FFimm8]-A-C

2

0

↔ ↔

[FFimm8] [FFimm8]-B-C

2

0

↔ ↔

[FFimm8] [FFimm8]-imm4-C

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

A-[00imm8]

1

0

↔ ↔

1

0

↔ ↔

A-[FFimm8]

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

B-[00imm8]

1

0

↔ ↔

1

0

↔ ↔

B-[FFimm8]

1

0

↔ ↔

1

0

↔ ↔

[00imm8]-A

2

0

↔ ↔

[00imm8]-B

2

0

↔ ↔

[00imm8]-imm4

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

[FFimm8]-A

2

0

↔ ↔

[FFimm8]-B

2

0

↔ ↔

[FFimm8]-imm4

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

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

2

0

↔ ↔

Remarks