English
Language : 

4518 Datasheet, PDF (97/160 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4518 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
IAP3 (Input Accumulator from port P3)
Instruction
code
D9
D0
Number of Number of Flag CY
1001100011
263
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (P3)
Grouping: Input/Output operation
Description: Transfers the input of port P3 to register A.
IAP6 (Input Accumulator from port P6)
Instruction
code
D9
D0
Number of Number of Flag CY
1
0
0
1
1
0
0
1
1
0
2
2
6
6 16
words
1
cycles
1
–
Skip condition
–
Operation: (A) ← (P6)
Grouping: Input/Output operation
Description: Transfers the input of port P6 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.
Rev.3.01 2005.06.15 page 97 of 157
REJ03B0008-0301