STD
Set Direction Flag
stableVMJITAOTinstruction
Encodings
Measured cost
Flags named
CF CarryPF ParityAF Auxiliary carryZF ZeroSF SignDF DirectionOF Overflow
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 is the same in all modes.
Operation#
Flags affected#
The DF flag is set. The CF, OF, ZF, SF, AF, and PF flags are unaffected.
Exceptions
Real address mode
Protected mode
Virtual-8086 mode
Compatibility mode
64-bit mode
Sources