Intermediate Assembly Language
Q78 / 100

What is the Direction Flag (DF) used for?

Correct! Well done.

Incorrect.

The correct answer is B) Controlling whether string instructions auto-increment (DF=0, CLD) or auto-decrement (DF=1, STD) the ESI/EDI pointers

B

Correct Answer

Controlling whether string instructions auto-increment (DF=0, CLD) or auto-decrement (DF=1, STD) the ESI/EDI pointers

Explanation

CLD clears DF (forward direction, increment). STD sets DF (backward direction, decrement). The ABI requires DF to be 0 at function calls.

Progress
78/100