IF DF 0 what its represent and IF DF 1 what its represent-00838
This subjective question is related to the book/course vu cs507 Information Systems. It can also be found in vu cs507 Mid Term Solved Past Paper No. 2.
Question 1: IF DF=0 what its represent and IF DF=1 what its represent?
Answer:
The direction of movement is controlled with the Direction Flag (DF) in the flags register. If this flag is cleared DF=0, the direction is from lower addresses towards higher addresses and if this flag is set DF=1, the direction is from higher addresses to lower addresses. If DF is cleared, DF = 0 this is called the autoincrement mode of string instruction, and if DF is set, DF=1, this is called the autodecrement mode. There are two instructions to set and clear the direction flag.