|
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
|
▷ |