Intel and compatable CPU's Programming Information |
|||
Intel SSE MMX2 KNI documentation AMD 64 Bit & Opteron resource on this site Intel Itanium 64 Bit processor Intel 80386 Reference Programmer's Manual Our Partners: |
prev: STD Set Direction Flag next: STOS/STOSB/STOSW/STOSD Store String Data
STI -- Set Interrupt FlagOpcode Instruction Clocks Description F13 STI 3 Set interrupt flag; interrupts enabled at the end of the next instruction 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
up:
Chapter 17 -- 80386 Instruction Set |