English
Language : 

S3P9228 Datasheet, PDF (331/462 Pages) Samsung semiconductor – 8-BIT CMOS MICROCONTROLLERS USERS MANUAL
S3C9228/P9228
SAM88RCRI INSTRUCTION SET
CCF — Complement Carry Flag
CCF
Operation:
Flags:
Format:
C ¨ NOT C
The carry flag (C) is complemented. If C = "1", the value of the carry flag is changed to logic
zero; if C = "0", the value of the carry flag is changed to logic one.
C: Complemented.
No other flags are affected.
Bytes Cycles Opcode
(Hex)
opc
1
4
EF
Example:
Given: The carry flag = "0":
CCF
If the carry flag = "0", the CCF instruction complements it in the FLAGS register (0D5H), changing
its value from logic zero to logic one.
6-15