![](http://datasheet.mmic.net.cn/30000/M34570MD-XXXFP_datasheet_2359531/M34570MD-XXXFP_44.png)
–
(Y) = 15
(Y) = 0
–
Continuous
description
–
After transferring the contents of M(DP) to register A, an exclusive OR operation is performed between
register X and the value j in the immediate field, and stores the result in register X.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
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.
After exchanging the contents of M(DP) with the contents of register A, an exclusive OR operation is
performed between register X and the value j in the immediate field, and stores the result in register X.
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.
After transferring the contents of register A to M(DP), an exclusive OR operation is performed between
register X and the value j in the immediate field, and stores the result in register X.
Loads the value n in the immediate field to register A.
When the LA instructions are continuously coded and executed, only the first LA instruction is executed
and other LA instructions coded continuously are skipped.
Transfers bits 9 and 8 to register W5, bits 7 to 4 to register B and bits 3 to 0 to register A. These bits 9
to 0 are the ROM pattern in address (DR2 DR1 DR0 A3 A2 A1 A0)2 specified by registers A and D in
page p.
When this instruction is executed, 1 stage of stack register is used.
When this instruction is executed after executing the SBK instruction, pages 64 to 127 are specified.
When this instruction is executed after executing the RBK instruction, pages 0 to 63 are specified.
When this instruction is executed after system is released from reset or returned from RAM back-up,
pages 0 to 63 are specified.
RAM
to
register
transfer
Arithmetic
operation
TAM j
XAM j
XAMD j
XAMI j
TMA j
LA n
TABP p
(A)
← (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) – 1
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) + 1
(M(DP))
← (A)
(X)
← (X)EXOR(j)
j = 0 to 15
(A)
← n
n = 0 to 15
(SP)
← (SP) + 1
(SK(SP))
← (PC)
(PCH)
← p
(PCL)
← (DR2–DR0, A3–A0)
(W5)
← (ROM(PC))9 to 8
(B)
← (ROM(PC))7 to 4
(A)
← (ROM(PC))3 to 0
(PC)
← (SK(SP))
(SP)
← (SP) – 1
(Note)
1
3
1
2C
j
2D
j
2F
j
2E
j
2B
j
07
n
08
p
+p
101100
jjjj
101101
jjjj
101111
jjjj
101110
jjjj
101011
jjjj
000111nnnn
0010p5 p4 p3 p2 p1 p0
MACHINE INSTRUCTIONS (CONTINUED)
Note: p is 0 to 31 for M34570M4 and p is 0 to 63 for M34570E8 and M34570M8.
p is 0 to 127 for M34570ED and M34570MD, and p6 is specified with the SBK and RBK instructions.
45
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Skip condition
Detailed description
Carry
flag
CY
44
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Function
Mnemonic
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Hexadecimal
notation
Type of
instructions
Parameter
Number
of
words
Number
of
cycles
Instruction code