AngoLinux |
80386 Programmer's Reference Manual -- Opcode STI |
STI -- Set Interrupt Flag
OperationIF := 1 DescriptionSTI sets the interrupt flag to 1. The 80386 then responds to external interrupts after executing the next instruction if the next instruction allows the interrupt flag to remain enabled. If external interrupts are disabled and you code STI, RET (such as at the end of a subroutine), the RET is allowed to execute before external interrupts are recognized. Also, if external interrupts are disabled and you code STI, CLI, then external interrupts are not recognized because the CLI instruction clears the interrupt flag during its execution.Flags AffectedIF := 1Protected Mode Exceptions#GP(0) if the current privilege level is greater (has less privilege) than the I/O privilege levelReal Address Mode ExceptionsNoneVirtual 8086 Mode ExceptionsNone
[Home Page dell'ITIS "Fermi"] [80386 Programmer's Reference Manual Index] [Previous] [Next] |