English
Language : 

4518 Datasheet, PDF (98/160 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4518 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
LXY x, y (Load register X and Y with x and y)
Instruction
code
D9
D0
Number of Number of Flag CY
words
cycles
1
1
x3 x2 x1 x0 y3 y2 y1 y0 3
2
x
y 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.
LZ z (Load register Z with z)
Instruction
code
D9
D0
Number of Number of Flag CY
0
0
0
1
0
0
1
0
z1 z0 0
2
4
8
+z 16
words
1
cycles
1
–
Skip condition
–
Operation: (Z) ← z z = 0 to 3
Grouping: RAM addresses
Description: Loads the value z in the immediate field to
register Z.
NOP (No OPeration)
Instruction
code
D9
D0
Number of Number of Flag CY
0000000000
000
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (PC) ← (PC) + 1
Grouping: Other operation
Description: No operation; Adds 1 to program counter
value, and others remain unchanged.
OP0A (Output port P0 from Accumulator)
Instruction
code
D9
D0
Number of Number of Flag CY
1000100000
220
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (P0) ← (A)
Grouping: Input/Output operation
Description: Outputs the contents of register A to port
P0.
Rev.3.01 2005.06.15 page 98 of 157
REJ03B0008-0301