Docsity

Interrupts: Mechanism for Processor Interruptions and Handling Multiple Interrupts, Slides of Computer Architecture and Organization

Partial preview of the text

Download Interrupts: Mechanism for Processor Interruptions and Handling Multiple Interrupts and more Slides Computer Architecture and Organization in PDF only on Docsity!

Interrupts z

Mechanism by which other modules (e.g.I/O) may interrupt normal sequence ofprocessing

z

Program z

e.g. overflow, division by zero z

Timer z

Generated by internal processor timer z Used in pre-emptive multi-tasking z

I/O z

from I/O controller z

Hardware failure z

e.g. memory parity error

Program Flow Control

Transfer of Control via Interrupts

Instruction Cycle with Interrupts

Program Timing Long I/O Wait

Instruction Cycle (with Interrupts)State Diagram

Multiple Interrupts - Sequential

Multiple Interrupts – Nested

SUMMARY