CPU Register - DF Control Flag

Z80 Registers

About

The direction flag (DF, located in bit 10 of the EFLAGS register) controls string instructions.

Management

Set

Setting the DF flag causes the string instructions to auto-decrement (to process strings from high addresses to low addresses).

Clear

Clearing the DF flag causes the string instructions to auto-increment (process strings from low addresses to high addresses). The STD and CLD instructions set and clear the DF flag, respectively.





Discover More
Eflags Registers
CPU Register - Eflag

The 32-bit EFLAGS register contains: a group of status flags, a control flag (DF), and a group of system flags. When suspending a task, the processor automatically saves the state of...



Share this page:
Follow us:
Task Runner