CLC
Clear Carry Flag
stableVMJITAOTinstruction
Encodings
| Opcode | Instruction | Op/En | 64-bit | Compat/Legacy | Description |
|---|---|---|---|---|---|
F8 | CLC | ZO | Valid | Valid | Clear CF flag. |
Measured cost
Loading measurements from arch-data...
Flags named
CFCarryPFParityAFAuxiliary carryZFZeroSFSignOFOverflow
Description
Clears the CF flag in the EFLAGS register. Operation is the same in all modes.
Operation
CF := 0;Flags affected
The CF flag is set to 0. The OF, ZF, SF, AF, and PF flags are unaffected.
Exceptions
Real address mode
#UD | If the LOCK prefix is used. |
Protected mode
#UD | If the LOCK prefix is used. |
Virtual-8086 mode
#UD | If the LOCK prefix is used. |
Compatibility mode
#UD | If the LOCK prefix is used. |
64-bit mode
#UD | If the LOCK prefix is used. |