English
Language : 

4570 Datasheet, PDF (46/69 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MACHINE INSTRUCTIONS (CONTINUED)
Parameter
Instruction code
Mnemonic
Type of
instructions
D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Hexadecimal
notation
Function
Ba
0 1 1 a6 a5 a4 a3 a2 a1 a0 1 8 a 1 1 (PCL) ← a6–a0
+a
BL p, a
0 0 1 1 1 p4 p3 p2 p1 p0 0 E p 2
+p
1 0 p5 a6 a5 a4 a3 a2 a1 a0
2p a
+a
2 (PCH) ← p
(PCL) ← a6–a0
(Note)
BLA p
0 0 0 0 0 1 0 0 0 0 01 0 2
1 0 p5 p4 0 0 p3 p2 p1 p0 2 p p
2 (PCH) ← p
(PCL) ← (DR2–DR0, A3–A0)
(Note)
BM a
0 1 0 a6 a5 a4 a3 a2 a1 a0 1 a a 1
1 (SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← 2
(PCL) ← a6–a0
BML p, a 0 0 1 1 0 p4 p3 p2 p1 p0 0 C p 2
+p
1 0 p5 a6 a5 a4 a3 a2 a1 a0
2pa
+a
2 (SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← a6–a0
(Note)
BMLA p
0 0 0 0 1 1 0 0 0 0 03 0 2
1 0 p5 p4 0 0 p3 p2 p1 p0 2 p p
2 (SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← (DR2–DR0, A3–A0)
(Note)
RTI
0 0 0 1 0 0 0 1 1 0 0 4 6 1 1 (PC) ← (SK(SP))
(SP) ← (SP) – 1
RT
0 0 0 1 0 0 0 1 0 0 0 4 4 1 2 (PC) ← (SK(SP))
(SP) ← (SP) – 1
RTS
0 0 0 1 0 0 0 1 0 1 0 4 5 1 2 (PC) ← (SK(SP))
(SP) ← (SP) – 1
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.
48
MITSUBISHI MICROCOMPUTERS
4570 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Skip condition
Detailed description
–
– Branch within a page : Branches to address a in the identical page.
–
– Branch out of a page : Branches to address a in page p.
–
– Branch out of a page : Branches to address (DR2 DR1 DR0 A3 A2 A1 A0)2 specified by registers D and
A in page p.
–
– Call the subroutine in page 2 : Calls the subroutine at address a in page 2.
–
– Call the subroutine : Calls the subroutine at address a in page p.
–
– Call the subroutine : Calls the subroutine at address (DR2 DR1 DR0 A3 A2 A1 A0)2 specified by registers
D and A in page p.
–
– Returns from interrupt service routine to main routine.
Returns each value of data pointer (X, Y, Z), carry flag, skip status, NOP mode status by the continuous
description of the LA/LXY instruction, register A and register B to the states just before interrupt.
–
– Returns from subroutine to the routine called the subroutine.
Skip unconditionally – Returns from subroutine to the routine called the subroutine, and skips the next instruction unconditionally.
49