User Guide

88 General-Purpose Programming
AMD64 Technology 24592—Rev. 3.15—November 2009
Interrupt to Same Privilege in Legacy Mode. When an interrupt to a handler running at the same
privilege occurs, the processor pushes a copy of the rFLAGS register, followed by the return pointer
(CS:rIP), onto the stack. If the interrupt generates an error code, it is pushed onto the stack as the last
item. Control is then transferred to the interrupt handler. Figure 3-16 on page 89 shows the stack
pointer before (old rSP value) and after (new rSP value) the interrupt. The stack segment (SS) is not
changed.
12 Stack #SS Internal
SS register loads and stack
references
yes
13 General-Protection #GP Internal
Memory accesses and
protection checks
yes
14 Page-Fault #PF Internal
Memory accesses when
paging enabled
yes
15 Reserved
16
x87 Floating-Point
Exception-Pending
#MF Software
x87 floating-point and 64-bit
media floating-point
instructions
no
17 Alignment-Check #AC Internal Memory accesses yes
18 Machine-Check #MC
Internal
External
Model specific yes
19 SIMD Floating-Point #XF Internal
128-bit media floating-point
instructions
no
20—31
Reserved (Internal and
External)
32—255
External Interrupts
(Maskable)
External External interrupt signalling no
0—255 Software Interrupts Software INT instruction yes
Table 3-10. Interrupts and Exceptions (continued)
Vector Interrupt (Exception) Mnemonic Source Cause
Generated
By General-
Purpose
Instructions