Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Input
Mode 1 Strobed
Output
Mode 2 Bidirectional
Operation
Page Fault
(Page required is not in
Physical memory)
Starting address
of interrupt vector = 4 n
Where n is the vector type
For debugging
If Trap flag (TF) F is set
Interrupt Processing
At the end of
every normal instruction,
P checks for
interrupts- in this order:
1. Internal Interrupts from
results of execution,
e.g. overflow, divide by 0
2. Single step
3. NMI
4. INTR
5. INT n instructions
Higher
Priority
IRET
Normal Processing
ISR
8
6
7
Restores original
Interrupt status
Hardware Interrupts
Interrupt Pins
Internally
decoded as
type 2 interrupt
Usually uses
interrupt types
numbers
20H to FFH
Upon acceptance,
P disables further INTRs (Clears IF to 0) (by
By processor
By interrupting
device