Interrupt/Exception Generation and Handling


The topic of interrupts was covered in the chapter entitled “Interrupts and Exceptions” on page 251. Basically, interrupts fall into two categories:

  • Hardware-initiated interrupts.

  • Software-initiated interrupts or exceptions.

Software interrupts/exceptions can be further divided into two categories:

  • Software exceptions that result from an error while attempting to execute an instruction.

  • Software interrupts that result from the execution of a software interrupt instruction (i.e., INT nn, INTO, INT3, or BOUND).

In all of these cases, the interrupt or exception type provides a one-byte index into the Interrupt Descriptor Table (IDT; see Figure 15-8 on page 349), selecting an IDT entry (1-of-256d). ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.