
<
2
.75
7UGT U/CPWCN
=L/2*
#FFTGUU5RCEG
7/<:
CCF
Complement Carry Flag
Instruction Format:
CCF
Operation:
C
←
NOT C
The
C
flag is complemented. If
C
=
1
, then it is changed to
C
=
0
; or, if
C
=
0
, then it is changed to
C
=
1
.
Flags:
When the instruction is executed, the flags are set as follows:
Example: The
C
flag contains a
0
. The following statement changes the
C
flag from
C
=
0
to
C
=
1
.
CCF
Op Code: EF
C:
The value set by the preceding instruction is complemented.
Z:
The value set by the preceding instruction.
S:
The value set by the preceding instruction.
V:
The value set by the preceding instruction.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
OPC
OPC (Hex)
EF