The Problem—Instructions with Side Effects
In addition to IO instructions, a DOS task may attempt to execute other instructions that may interfere with the multitasking OS or other tasks that are currently suspended, or that may attempt to call services provided by a non-resident OS (e.g., DOS) or the BIOS. The problematic instructions are:
These instructions are described in the following subsections.
CLI (Clear Interrupt Enable) Instruction
Refer to Figure 15-6 on page 346. If the DOS task is permitted to execute the CLI instruction, the interrupt enable bit (EFlags[IF]) is turned off and the processor will not recognize subsequent external hardware interrupts received on its INTR ...