IA-32 Assembly Language Reference Manual

Set Direction Flag (std)

std
Operation

1 -> DF

Description

Sets the direction flag to 1, causing all subsequent string operations to decrement the index registers, (E)SI and/or (E)DI, used during the operation.

Example

Set the direction flag:

std