Skip to content
Henk-Jan Lebbink edited this page Aug 14, 2017 · 13 revisions

CLD — Clear Direction Flag

Opcode Instruction Op/ En 64-bit Mode Compat/ Leg Mode Description
FC CLD ZO Valid Valid Clear DF flag.

Instruction Operand Encoding

Op/En Operand 1 Operand 2 Operand 3 Operand 4
ZO NA NA NA NA

Description

Clears the DF flag in the EFLAGS register. When the DF flag is set to 0, string operations increment the index regis- ters (ESI and/or EDI). Operation is the same in all modes.

Operation

DF0;

Flags Affected

The DF flag is set to 0. The CF, OF, ZF, SF, AF, and PF flags are unaffected.

Exceptions (All Operating Modes)

\#UD If the LOCK prefix is used.


Source: Intel Architecture Software Developer's Manual (July 2017)
Generated at: 08/14/17 13:51:08

Clone this wiki locally