3 INSTRUCTION SET

3.4 Instruction Types

Instructions are divided into six types according to the size of the operand.

(I)

MSB

 

 

 

 

 

 

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ex:

JP

s

 

 

Op-code

 

 

8-bit operand

 

 

 

 

 

CALL

s

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LBPX

MX,e

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

etc.

(II)

MSB

 

 

 

 

 

 

LSB

 

r, i

 

 

 

 

 

 

 

 

 

 

 

 

 

ex:

ADD

 

 

 

Op-code

 

 

6-bit operand

 

 

 

 

 

 

LD

r, i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FAN

r, i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

etc.

(III)

MSB

 

 

 

 

 

 

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ex:

PSET

p

 

 

 

Op-code

 

 

 

5-bit operand

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(IV)

MSB

 

 

 

 

LSB

ex:

SET

F, i

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Op-code

 

4-bit operand

 

 

 

 

 

 

LD

r, q

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INC

Mn

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

etc.

(V)

MSB

 

 

 

 

LSB

ex:

ACPX

MX, r

 

 

 

 

 

 

 

 

 

 

 

2-bit

 

 

 

 

 

Op-code

 

 

 

 

 

 

 

 

 

 

 

operand

 

LD

XH, r

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PUSH

r

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

etc.

(VI)

MSB

 

 

 

 

LSB

ex:

JPBA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Op-code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

POP

YL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INC

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

etc.

3.5 Instruction Descriptions

This section describes S1C6200/6200A instructions in alphabetical order.

S1C6200/6200A CORE CPU MANUAL

EPSON

27