What is the purpose of Direction Flag?

What is the purpose of Direction Flag?, purpose of Direction Flag?, What is the purpose of Direction Flag?, What is the purpose of Direction Flag?

We can simply say that the direction flag control the direction of the repeated string instruction on Microprocessor. 
DF = Direction Flag = String Direction Flag
The direction flag is a flag that controls the left-to-right or right-to-left direction of string processing.

The direction flag is used to determine the direction which may be forward or backward in which several bytes of data will be copied from one place to another place in the memory.

The direction is  more important mainly when the original data position in memory and the target data position overlap.

You May Also Like...

Socialize with Us