Protected Mode Exceptions

This section lists the exceptions that can occur when the instruction is executed in protected mode. The exception names are a pound sign (#) followed by two letters and an optional error code in parentheses. For example, #GP(0) denotes a general protection exception with an error code of 0. The following table associates each two-letter name with the corresponding interrupt number.

Exceptions ┌───────────────────┬───────────────────┬──────────────────────────────────────┐
│ MNEMONIC │ INTERRUPT │ DESCRIPTION │
├───────────────────┼───────────────────┼──────────────────────────────────────┤
│ #UD │ 6 │ Invalid opcode │
│ #NM │ 7 │ Device not available │
│ #DF │ 8 │ Double fault │
│ #TS │ 10 │ Invalid TSS │
│ #NP │ 11 │ Segment or gate not present │
│ #SS │ 12 │ Stack fault │
│ #GP │ 13 │ General protection fault │
│ #PF │ 14 │ Page fault │
│ #MF │ 16 │ Floating-point error │
│ #AC │ 17 │ Alignment check │
└───────────────────┴───────────────────┴──────────────────────────────────────┘

Refer to the Intel documentation for a description of the exceptions and the processor state upon entry to the exception.

Application programmers should consult the documentation provided with their operating systems to determine the actions taken when exceptions occur.


[Back: Numeric Exceptions]
[Next: Real Address Mode Exceptions]