Signal Overview
5-13
18524C/0—Nov1996
AMD-K5 Processor Technical Reference Manual
5.1.3
External Interrupts
Interrupts and exceptions are often differentiated in x86 docu-
mentation as follows: an interrupt is the assertion of a hard-
ware input signal and an exception is a software event, such as
an invalid opcode or execution of an INTn instruction. In some
documents, however, the terms interrupt and exception apply to
both hardware and software events, which are then differenti-
ated as external or hardware interrupts or exceptions, and inter-
nal or software interrupts or exceptions, respectively. In still
other x86 documents, the term software interrupt means an
INTn instruction that vectors to an interrupt gate. Moreover,
some of the old rules commonly applied to interrupts do not
apply to the external interrupts defined for the Pentium pro-
cessor: for example, not all external interrupts alter the pro-
gram flow, and not all are acknowledged by the processor.
Because these variations in definition are potentially confus-
ing, this document assumes only the following definitions:
■
Interrupt—The assertion (or in the case of R/S, the driving
Low) of one of eight hardware input signals (BUSCHK, R/S,
FLUSH, SMI, INIT, NMI, INTR, or STPCLK).
■
Exception—Any software-initiated event that accesses an
entry in the Real mode interrupt vector table (IVT) or in
the Protected mode interrupt descriptor table (IDT).
■
External Interrupt—Same as interrupt.
■
Software Interrupt—In Real mode, any INTn instruction. In
Protected mode, any INTn instruction that vectors to an
IDT entry that is an interrupt gate, or that is a task gate
which references a TSS with the interrupt flag (IF) cleared
in its EFLAGS image. (INTn instructions that vector to a
trap gate are not considered software interrupts because
the processor does not clear IF in such cases.)
All interrupts are recognized on the next instruction retire-
ment boundary. Most exceptions are recognized at the point in
the instruction where they occur, and are not usually deferred
to the end of the instruction. All interrupts and exceptions
invalidate (flush) the pipeline when recognized (as defined in
Section 2.2.5 on page 2-12). All exceptions are handled pre-
cisely so that the instruction causing an exception can be
restarted after the exception is serviced.
Summary of Contents for AMD-K5
Page 1: ...AMD K5 Processor Technical Reference Manual TM...
Page 10: ...x AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 24: ...1 4 Overview AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 54: ...2 30 Internal Architecture AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 116: ...4 26 Performance AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 356: ...6 44 System Design AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 380: ...7 24 Test and Debug AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 396: ...A 16 AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...
Page 406: ...I 10 Index AMD K5 Processor Technical Reference Manual 18524C 0 Nov1996...