English
Language : 

4552 Datasheet, PDF (81/145 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4552 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
BML p, a (Branch and Mark Long to address a in page p)
Instruction
code
D9
00
10
D0
Number of
1
1
0
p4 p3 p2 p1 p0
2
0
C
+p
p
16
words
2
p
p5 a6 a5 a4 a3 a2 a1 a0 2
2
+a
a 16
Grouping:
Number of Flag CY
cycles
2
–
Skip condition
–
Subroutine call operation
Operation:
(SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← a6–a0
Description: Call the subroutine : Calls the subroutine at
address a in page p.
Note:
p is 0 to 31 for M34552M4/M4H and p is 0
to 63 for M34552M8/M8H/G8/G8H.
Be careful not to over the stack because the
maximum level of subroutine nesting is 8.
BMLA p (Branch and Mark Long to address (D) + (A) in page p)
Instruction
code
D9
D0
Number of Number of Flag CY
0000110000
030
words
cycles
2
16
2
2
–
Skip condition
–
1 0 p5 p4 0 0 p3 p2 p1 p0 2 2 p p 16 Grouping: Subroutine call operation
Operation:
(SP) ← (SP) + 1
(SK(SP)) ← (PC)
(PCH) ← p
(PCL) ← (DR2–DR0, A3–A0)
Description: Call the subroutine : Calls the subroutine at
address (DR2 DR1 DR0 A3 A2 A1 A0)2 speci-
fied by registers D and A in page p.
Note:
p is 0 to 31 for M34552M4/M4H and p is 0
to 63 for M34552M8/M8H/G8/G8H.
Be careful not to over the stack because the
maximum level of subroutine nesting is 8.
CLD (CLear port D)
Instruction
code
D9
D0
Number of Number of Flag CY
0000010001
011
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (D) ← 1
Grouping: Input/Output operation
Description: Sets (1) to port D.
CMA (CoMplement of Accumulator)
Instruction
code
D9
D0
Number of Number of Flag CY
0000011100
01C
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (A)
Grouping: Arithmetic operation
Description: Stores the one’s complement for register
A’s contents in register A.
Rev.3.02 Dec 22, 2006 page 81 of 142
REJ03B0023-0302