Home  Site Map  Instruction Index 

STD  -  Set Direction Instruction


The STD instruction is used to set the DF flag. This effects the direction in which data is read using the SI and DI registers.

When Set the SI and DI registers are decremented, when the flag is cleared using CLD instruction they are incremented.

STD Op Code is FD to set flag to 1

CLD Op Code is FC to clear flag to 0