clc
Clear Carry Flag
CLC
Sets the CF flag to 0.
Pseudocode Operation
CF ← 0
Encoding
Binary Layout
F8
+0
Operands
Related
More in Base
Reference
Instruction Forms
| Opcode | Instruction | Op/En | 64/32-bit Mode | CPUID | Description |
|---|---|---|---|---|---|
| F8 | CLC | ZO | Valid Valid | Clear CF flag. |
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 (All Operating Modes)
#UD If the LOCK prefix is used.
CLC-Clear Carry Flag Vol. 2A 3-140