Resetting
To reset the trap flag, simply replace the OR instruction in the preceding sequence with the instruction:
AND WORD PTR,0FEFFHThe trap flag is reset when the 8086 does a type-1 interrupt, so the single-step mode will be disabled during the interrupt-service procedure.
|
Read more about this topic: Trap Flag