16 bit Assembly

Home   Site Map   Instruction Index  


CLD   - Clear Direction Instruction

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

When Cleared the SI and DI registers are incremented, when the flag is set using STD instruction they are decremented i.e. operate backwards.

STD Op Code is FD

CLD Op Code is FC




Last Update 06/02/2023