English
Language : 

4559 Datasheet, PDF (92/148 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4559 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
IAP2 (Input Accumulator from port P2)
Instruc-
tion
code
D9
D0
1 0 0 1 1 0 0 0 1 0 2 2 6 2 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (A) ← (P2)
tion:
Grouping: Input/Output operation
Description: Transfers the input of port P2 to the register A.
IAP3 (Input Accumulator from port P3)
Instruc-
tion
code
D9
D0
1 0 0 1 1 0 0 0 1 1 2 2 6 3 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
-
Opera- (A) ← (P3)
tion:
Grouping: Input/Output operation
Description: Transfers the input of port P3 to the register A.
INY (INcrement register Y)
Instruc-
tion
code
D9
D0
0 0 0 0 0 1 0 0 1 1 2 0 1 3 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
(Y) = 0
Opera- (Y) ← (Y) + 1
tion:
Grouping: RAM addresses
Description: Adds 1 to the contents of register Y. As a result 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)
Instruc-
tion
D9
D0
code
0 0 0 1 1 1 n n n n 2 0 7 n 16
Number of
words
1
Number of
cycles
1
Flag CY
-
Skip condition
Continuous
description
Opera- (A) ← n
tion: 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 exe-
cuted, only the first LA instruction is executed and other LA
instructions coded continuously are skipped.
Rev.1.04 Aug 23, 2007 Page 92 of 146
REJ03B0188-0104