English
Language : 

PD64A_15 Datasheet, PDF (41/66 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS FOR INFRARED REMOTE CONTROL TRANSMISSION
µPD64A, 65
9.5 I/O Instructions
IN A, P0n
IN A, P1n
<1> Instruction code: 1 1 1 1 P4 1 1 P2 P1 P0
<2> Cycle count:
1
<3> Function:
(A) ← (Pmn) m = 0, 1 n = 0, 1, 3, 4
CY ← 0
The port Pmn data is loaded (read) into the accumulator.
OUT P0n, A
OUT P1n, A
<1> Instruction code: 0 0 1 0 P4 1 1 P2 P1 P0
<2> Cycle count:
1
<3> Function:
(Pmn) ← (A) m = 0, 1 n = 0, 1, 3, 4
The accumulator contents are transferred to port Pmn to be latched.
ANL A, P0n
ANL A, P1n
<1> Instruction code: 1 1 0 1 P4 1 1 P2 P1 P0
<2> Cycle count:
1
<3> Function:
(A) ← (A) (Pmn) m = 0, 1 n = 0, 1, 3, 4
CY ← A3 • Pmn
The accumulator contents and the port Pmn contents are ANDed and the results are entered in the
accumulator.
ORL A, P0n
ORL A, P1n
<1> Instruction code: 1 1 1 0 P4 1 1 P2 P1 P0
<2> Cycle count:
1
<3> Function:
(A) ← (A) ∨ (Pmn) m = 0, 1 n = 0, 1, 3, 4
CY ← 0
The accumulator contents and the port Pmn contents are ORed and the results are entered in the
accumulator.
XRL A, P0n
XRL A, P1n
<1> Instruction code: 1 0 1 0 P4 1 1 P2 P1 P0
<2> Cycle count:
1
<3> Function:
(A) ← (A) ∨ (Pmn) m = 0, 1 n = 0, 1, 3, 4
CY ← A3 • Pmn
The accumulator contents and the port Pmn contents are exclusive-ORed and the results are entered
in the accumulator.
Data Sheet U14380EJ3V0DS00
39