CLC

Clear Carry Flag

stableVMJITAOTinstruction

Encodings

OpcodeInstructionOp/En64-bitCompat/LegacyDescription
F8CLCZOValidValidClear CF flag.

Measured cost

Loading measurements from arch-data...

Flags named

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
#UDIf the LOCK prefix is used.
Protected mode
#UDIf the LOCK prefix is used.
Virtual-8086 mode
#UDIf the LOCK prefix is used.
Compatibility mode
#UDIf the LOCK prefix is used.
64-bit mode
#UDIf the LOCK prefix is used.

Sources