KS57C2308/P2308/C2316/P2316SAM47 INSTRUCTION SET

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

 

 

 

 

 

 

 

 

 

 

 

1

1

0

1

0

 

1

1

0

C C

 

 

 

 

 

 

 

 

 

 

 

Example: If the carry flag is logic zero, the instruction

CCF

changes the value to logic one.

5-47

Page 121
Image 121
Samsung KS57C2308 manual CCF Complement Carry Flag, Ccf