ZiLOG
CCF
COMPLEMENT CARRY FLAG
CCF
Complement Carry Flag
CCF
Instruction Format:
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:
C:
Complemented
Z:
Unaffected
S:
Unaffected
V:
Unaffected
D:
Unaffected
H:
Unaffected
Example:
If the C Flag contains a 0, the statement:
will change the C Flag from C = 0 to C = 1.
UM001601-0803
CCF
Op Code: EF
Z8 Microcontrollers
Instruction Descriptions and Formats
12-19
Need help?
Do you have a question about the Z8 and is the answer not in the manual?