CLC (instruction x86)
See also: CLC
CLC is an instruction for the processors of the family x86.
Description
The instruction CLC is a Mnémonique for Cl ear C arry Flag (the flag of reserve Disarms). This instruction disarms, i.e. puts at zero, the flag of reserve CF (bit 0 of the register EFLAGS).
Instruction CLC is a basic instruction of the processors x86. It was implemented on the first processor of this family, the 8086.
affected Flags
Only the flag of reserve CF of register EFLAGS is affected. None of the other flags is changed.
Generated exceptions
This instruction does not generate any exception in any of the three operating processes of the processor x86 (real Mode, virtual Mode 8086, Mode protected).
Example of use
The examples suggested are valid only for the processors x86.Language Assembler
- MASM (Intel Syntax)
mov Al, 0FFh add Al, 1; the CF is armed after this addition CLC; disarm the CF jc @retenue; the conditional jump is not taken! nop; this instruction will be well carried out @retenue:
See too
- STC - the instruction reverses CLC.
- EFLAGS - in particular the part on the flag of reserve CF
- Instruction set x86
| Random links: | -589 | European research | Machine elements | Equip with HongKong of basketball | White knight (financial right) | Rolziracetam |