English
Language : 

4552 Datasheet, PDF (84/145 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4552 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
IAP2 (Input Accumulator from port P2)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
1
0
0
1
1
0
0
0
1
0
2
2
6
2 16
1
1
–
Skip condition
–
Operation: (A) ← (P2)
Grouping: Input/Output operation
Description: Transfers the input of port P2 to register A.
INY (INcrement register Y)
Instruction
code
D9
D0
Number of Number of Flag CY
0000010011
013
words
cycles
2
16
1
1
–
Skip condition
(Y) = 0
Operation: (Y) ← (Y) + 1
Grouping: RAM addresses
Description: Adds 1 to the contents of register Y. As a re-
sult of addition, when the contents of
register Y is 0, the next instruction is
skipped. When the contents of register Y is
not 0, the next instruction is executed.
LA n (Load n in Accumulator)
Instruction
code
D9
D0
Number of Number of Flag CY
000111nnnn
07n
words
cycles
2
16
1
1
–
Skip condition
Continuous
description
Operation:
(A) ← n
n = 0 to 15
Grouping: Arithmetic operation
Description: Loads the value n in the immediate field to
register A.
When the LA instructions are continuously
coded and executed, only the first LA in-
struction is executed and other LA
instructions coded continuously are
skipped.
LXY x, y (Load register X and Y with x and y)
Instruction
code
D9
D0
Number of Number of Flag CY
1 1 x3 x2 x1 x0 y3 y2 y1 y0 3 x y
words
cycles
2
16
1
1
–
Skip condition
Continuous
description
Operation:
(X) ← x x = 0 to 15
(Y) ← y y = 0 to 15
Grouping: RAM addresses
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 instruc-
tions are continuously coded and executed,
only the first LXY instruction is executed
and other LXY instructions coded continu-
ously are skipped.
Rev.3.02 Dec 22, 2006 page 84 of 142
REJ03B0023-0302