Instruction List (3)

S1C63000 Core CPU

Classification

4-bit data transfer

Arithmetic operation

Mnemonic

Basic function

Opcode

Operand

 

EX

%A,%B

A B

EX

%A,[%X]

A [X]

 

%A,[%X]+

A [X], X X+1

 

%A,[%Y]

A [Y]

 

%A,[%Y]+

A [Y], Y Y+1

EX

%B,[%X]

B [X]

 

%B,[%X]+

B [X], X X+1

 

%B,[%Y]

B [Y]

 

%B,[%Y]+

B [Y], Y Y+1

ADD

%A,%A

A A+A

 

%A,%B

A A+B

 

%A,imm4

A A+imm4

 

%A,[%X]

A A+[X]

 

%A,[%X]+

A A+[X], X X+1

 

%A,[%Y]

A A+[Y]

 

%A,[%Y]+

A A+[Y], Y Y+1

ADD

%B,%A

B B+A

 

%B,%B

B B+B

 

%B,imm4

B B+imm4

 

%B,[%X]

B B+[X]

 

%B,[%X]+

B B+[X], X X+1

 

%B,[%Y]

B B+[Y]

 

%B,[%Y]+

B B+[Y], Y Y+1

ADD

[%X],%A

[X] [X]+A

 

[%X],%B

[X] [X]+B

 

[%X],imm4

[X] [X]+imm4

 

[%X]+,%A

[X] [X]+A, X X+1

 

[%X]+,%B

[X] [X]+B, X X+1

 

[%X]+,imm4

[X] [X]+imm4, X X+1

ADD

[%Y],%A

[Y] [Y]+A

 

[%Y],%B

[Y] [Y]+B

 

[%Y],imm4

[Y] [Y]+imm4

 

[%Y]+,%A

[Y] [Y]+A, Y Y+1

 

[%Y]+,%B

[Y] [Y]+B, Y Y+1

 

[%Y]+,imm4

[Y] [Y]+imm4, Y Y+1

Extended function

Clk

 

Flags

 

Symbol

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

E

I

C

Z

 

 

1

0

A [00imm8]

2

0

2

0

A [FFimm8]

2

0

2

0

B [00imm8]

2

0

2

0

B [FFimm8]

2

0

2

0

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

A A+[00imm8]

1

0

↔ ↔

1

0

↔ ↔

A A+[FFimm8]

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

1

0

↔ ↔

B B+[00imm8]

1

0

↔ ↔

1

0

↔ ↔

B B+[FFimm8]

1

0

↔ ↔

1

0

↔ ↔

[00imm8] [00imm8]+A

2

0

↔ ↔

[00imm8] [00imm8]+B

2

0

↔ ↔

[00imm8] [00imm8]+imm4

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

[FFimm8] [FFimm8]+A

2

0

↔ ↔

[FFimm8] [FFimm8]+B

2

0

↔ ↔

[FFimm8] [FFimm8]+imm4

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

2

0

↔ ↔

Remarks