|
4509 Datasheet, PDF (87/142 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4509 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
IAP1 (Input Accumulator from port P1)
Instruction
code
D9
D0
Number of Number of Flag CY
1001100001
261
words
cycles
2
16
1
1
â
Skip condition
â
Operation: (A) â (P1)
Grouping: Input/Output operation
Description: Transfers the input of port P1 to register A.
IAP2 (Input Accumulator from port P2)
Instruction
code
D9
D0
Number of Number of Flag CY
1001100010
262
words
cycles
2
16
1
1
â
Skip condition
â
Operation:
(A1, A0) â (P21, P20)
(A3, A2) â 0
Grouping: Input/Output operation
Description: Transfers the input of port P2 to the low-or-
der 2 bits (A1, A0) of register A.
Note:
After this instruction is executed, â0â is
stored to the high-order 2 bits (A3, A2) of
register A.
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:
(A1, A0) â (P31, P30)
(A3, A2) â 0
Grouping: Input/Output operation
Description: Transfers the input of port P3 to the low-or-
der 2 bits (A1, A0) of register A.
Note:
After this instruction is executed, â0â is
stored to the high-order 2 bits (A3, A2) of
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.
Rev.1.02 2006.12.22 page 87 of 140
REJ03B0147-0102
|
▷ |