Different types of control flags for the 8086

Briefly explain the three different types of control flags for the 8086.



- The 8086 has three control flags namely TF, IF and DF. All three of them can be user programmed to suit their needs.

- The trap flag allows the cpu to run in a single stepping mode. This comes in very handy in debugging and development purposes.

- The interrupt flag causes the INTR ( maskable interrupt ) to be enabled else it would remain disabled. Whenever the cpu is reset so is IF reset / cleared.

- In string operations primarily the Direction flag is used. The STD instruction is responsible for the setting of the DF.
Post your comment