English
Language : 

UPD62 Datasheet, PDF (46/64 Pages) NEC – 4-BIT SINGLE-CHIP MICROCONTROLLER FOR INFRARED REMOTE CONTROL TRANSMISSION
µPD62
STTS #data4
<1> Instruction code : 0 0 0 1 1 1 0 0 0 1
: 0 0 0 0 0 0 d3 d2 d1 d0
<2> Cycle count
:1
<3> Function
: if statuses match F ← 1
else F ← 0
Compares the S0, S1, KI/O, KI, and TIMER statuses with the immediate data contents. If at least one
of the statuses coincides with the bits that have been set, the status flag F is set (to 1).
If none of them coincide, the status flag F is cleared (to 0).
SCAF (Set Carry If ACC = FH)
<1> Instruction code : 1 1 0 1 0 1 0 0 1 1
<2> Cycle count
:1
<3> Function
: if A = 0FH CY ← 1
else CY ← 0
Sets the carry flag CY (to 1) if the accumulator contents are FH.
The accumulator values after executing the SCAF instruction are as follows:
Accumulator Value
Before execution
After execution
×××0
0000
××01
0001
×011
0011
0111
0111
1111
1111
Carry Flag
0 (clear)
0 (clear)
0 (clear)
0 (clear)
1 (set)
Remark ×: don’t care
NOP
<1> Instruction code : 0 0 0 0 0 0 0 0 0 0
<2> Cycle count
:1
<3> Function
: PC ← PC + 1
No operation
46
Data Sheet U14208EJ1V0DS00