KS57C2308/P2308/C2316/P2316 SAM47 INSTRUCTION SET
5-47
CCF Complement Carry Flag
CCF
Operation: Operand Operation Summary Bytes Cycles
Complement carry flag 1 1
Description: The carry flag is complemented; if C = "1" it is changed to C = "0" and vice-versa.
Operand Binary Code Operation Notation
– 11010110C C
Example: If the carry flag is logic zero, the instruction
CCF
changes the value to logic one.