43
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Skip condition
Detailed description
C
42
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Function
Mnemonic
D
9
D
8
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
Hexadecimal
notation
Type of
instructions
Parameter
N
w
N
c
Instruction code
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Continuous
description
–
(Y) = 0
(Y) = 15
Transfers the contents of register B to register A.
Transfers the contents of register A to register B.
Transfers the contents of register Y to register A.
Transfers the contents of register A to register Y.
Transfers the contents of registers A and B to register E.
Transfers the contents of register E to registers A and B.
Transfers the contents of register A to register D.
Transfers the contents of register D to register A.
Transfers the contents of register Z to register A.
Transfers the contents of register X to register A.
Transfers the contents of stack pointer (SP) to register A.
Loads the value x in the immediate field to register X, and the value y in the immediate field to register
Y.
When the LXY instructions are continuously coded and executed, only the first LXY instruction is executed
and other LXY instructions coded continuously are skipped.
Loads the value z in the immediate field to register Z.
Adds 1 to the contents of register Y. As a result of addition, when the contents of register Y is 0, the
next instruction is skipped.
Subtracts 1 from the contents of register Y. As a result of subtraction, when the contents of register Y
is 15, the next instruction is skipped.
R
R
MACHINE INSTRUCTIONS
TAB
TBA
TAY
TYA
TEAB
TABE
TDA
TAD
TAZ
TAX
TASP
LXY x, y
LZ z
INY
DEY
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
1
0
1
0
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
1
0
1
0
0
1
1
0
0
0
1
0
1
0
0
1
0
0
0
0
1
0
1
0
0
0
0
1
1
x
3
x
2
x
1
x
0
y
3
y
2
y
1
y
0
0
0
0
1
0
0
1
0
z
1
z
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
1
0
1
1
1
(A)
←
(B)
(B)
←
(A)
(A)
←
(Y)
(Y)
←
(A)
(E
7
–E
4
)
←
(B)
(E
3
–E
0
)
←
(A)
(B)
←
(E
7
–E
4
)
(A)
←
(E
3
–E
0
)
(DR
2
–DR
0
)
←
(A
2
–A
0
)
(A
2
–A
0
)
←
(DR
2
–DR
0
)
(A
3
)
←
0
(A
1
, A
0
)
←
(Z
1
, Z
0
)
(A
3
, A
2
)
←
0
(A)
←
(X)
(A
2
–A
0
)
←
(SP
2
–SP
0
)
(A
3
)
←
0
(X)
←
x, x = 0 to 15
(Y)
←
y, y = 0 to 15
(Z)
←
z, z = 0 to 3
(Y)
←
(Y) + 1
(Y)
←
(Y) – 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
E
0
0
E
0
1
F
0
0
C
0
1
A
0
2
A
0
2
9
0
5
1
0
5
3
0
5
2
0
5
0
3
x
y
0
4
8
+z
0
1
3
0
1
7