English
Language : 

4570 Datasheet, PDF (43/69 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MACHINE INSTRUCTIONS
Parameter
Instruction code
Mnemonic
Type of
instructions
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Hexadecimal
notation
Function
TAB
0 0 0 0 0 1 1 1 1 0 0 1 E 1 1 (A) ← (B)
TBA
0 0 0 0 0 0 1 1 1 0 0 0 E 1 1 (B) ← (A)
TAY
0 0 0 0 0 1 1 1 1 1 0 1 F 1 1 (A) ← (Y)
TYA
0 0 0 0 0 0 1 1 0 0 0 0 C 1 1 (Y) ← (A)
TEAB
0000011010
01A 1
1 (E7–E4) ← (B)
(E3–E0) ← (A)
TABE
0000101010
02A 1
1 (B) ← (E7–E4)
(A) ← (E3–E0)
TDA
0 0 0 0 1 0 1 0 0 1 0 2 9 1 1 (DR2–DR0) ← (A2–A0)
TAD
0001010001
051 1
1 (A2–A0) ← (DR2–DR0)
(A3) ← 0
TAZ
0001010011
053 1
1 (A1, A0) ← (Z1, Z0)
(A3, A2) ← 0
TAX
0 0 0 1 0 1 0 0 1 0 0 5 2 1 1 (A) ← (X)
TASP
0001010000
050 1
1 (A2–A0) ← (SP2–SP0)
(A3) ← 0
LXY x, y
1 1 x3 x2 x1 x0 y3 y2 y1 y0 3 x y 1
1 (X) ← x, x = 0 to 15
(Y) ← y, y = 0 to 15
LZ z
INY
0 0 0 1 0 0 1 0 z1 z0 0 4 8 1
+z
1 (Z) ← z, z = 0 to 3
0 0 0 0 0 1 0 0 1 1 0 1 3 1 1 (Y) ← (Y) + 1
DEY
0 0 0 0 0 1 0 1 1 1 0 1 7 1 1 (Y) ← (Y) – 1
42
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Skip condition
Detailed description
–
– 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.
Continuous
description
–
– 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.
(Y) = 0
(Y) = 15
– 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.
43