Chap 01
Chap 01
Characteristics of a Example of
Hypothetical Machine Program Execution
Roadmap Interrupts
– Basic Elements • Interrupt the normal sequencing of the
– Processor Registers processor
– Instruction Execution • Provided to improve processor utilization
– Interrupts – Most I/O devices are slower than the
– The Memory Hierarchy processor
– – Processor must pause to wait for device
Cache Memory
– I/O Communication Techniques
Common Classes Flow of Control
of Interrupts without Interrupts
Sequential Nested
Interrupt Processing Interrupt Processing
Example of Multiprogramming
Nested Interrupts
• Processor has more than one program to
execute
• The sequence the programs are executed
depend on their relative priority and
whether they are waiting for I/O
• After an interrupt handler completes,
control may not return to the program that
was executing at the time of the interrupt