|
UPD6P8 Datasheet, PDF (49/95 Pages) NEC – MOS INTEGRATED CIRCUIT 4-BIT SINGLE-CHIP MICROCONTROLLER FOR INFRARED REMOTE CONTROL TRANSMISSION | |||
|
◁ |
µPD6P8, 6P8A, 6P8B
XRL A, @R0H
XRL A, @R0L
<1> Instruction code: 1 0 1 0 0/1 1 0 0 0 0
<2> Cycle count:
1
<3> Function:
(A) â (A) ⨠(P13), (R0))7-4 (in the case of XRL A, @R0H)
CY â A3 ⢠ROM7
(A) â (A) ⨠(P13), (R0))3-0 (in the case of XRL A, @R0L)
CY â A3 ⢠ROM3
The accumulator contents and the program memory contents specified by the control register P13 and
register pair R10-R00 are exclusive-ORed and the results are entered in the accumulator.
If H is specified, b7, b6, b5, and b4 take effect. If L is specified, b3, b2, b1, and b0 take effect.
XRL A, #data4
<1> Instruction code: 1 0 1 0 1 1 0 0 0 1
<2> Cycle count:
0 0 0 0 0 0 d3 d2 d1 d0
1
<3> Function:
(A) â (A) ⨠data4
CY â A3 ⢠data43
The accumulator contents and the immediate data are exclusive-ORed and the results are entered in
the accumulator.
INC A
<1> Instruction code: 1 0 1 0 0 1 0 0 1 1
<2> Cycle count:
1
<3> Function:
(A) â (A) + 1
if A = 0 CY â 1
else CY â 0
The accumulator contents are incremented (+1).
RL A
<1> Instruction code: 1 1 1 0 0 1 0 0 1 1
<2> Cycle count:
1
<3> Function:
(An + 1) â (An), (A0) â (A3)
CY â A3
The accumulator contents are rotated anticlockwise bit by bit.
RLZ A
<1> Instruction code: 1 1 1 1 0 1 0 0 1 1
<2> Cycle count:
1
<3> Function:
if A = 0 reset
else (An + 1) â (An), (A0) â(A3)
CY â A3
The accumulator contents are rotated anticlockwise bit by bit.
If A = 0H at the time of command execution, an internal reset takes effect.
Data Sheet U17848EJ3V0DS
49
|
▷ |