English
Language : 

4502 Datasheet, PDF (66/116 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4502 Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
IAK (Input Accumulator from port K)
Instruction
code
D9
D0
Number of Number of Flag CY
1001101111
26F
words
cycles
2
16
1
1
–
Skip condition
–
Operation:
(A0) ← (K)
(A3–A1) ← 0
Grouping: Input/Output operation
Description: Transfers the contents of port K to the bit 0
(A0) of register A.
Note:
After this instruction is executed, “0” is
stored to the high-order 3 bits (A3–A1) of
register A.
IAP0 (Input Accumulator from port P0)
Instruction
code
D9
D0
Number of Number of Flag CY
1001100000
260
words
cycles
2
16
1
1
–
Skip condition
–
Operation: (A) ← (P0)
Grouping: Input/Output operation
Description: Transfers the input of port P0 to register A.
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.
Rev.3.01 2005.02.02 page 66 of 112
REJ03B0105-0301