STD—Set Direction Flag
Opcode
FD
Description
Sets the DF flag in the EFLAGS register. When the DF flag is set to 1, string operations
decrement the index registers (ESI and/or EDI).
Operation
DF 1;
Flags Affected
The DF flag is set. The CF, OF, ZF, SF, AF, and PF flags are unaffected.
Operation
DF 1;
Exceptions (All Operating Modes)
None.
4:372
Instruction
Description
STD
Set DF flag
Volume 4: Base IA-32 Instruction Reference