Lecture 4
Lecture 4
by
Engr. B.S. Muhammad(BEng. BUK, MSc. ABU)
Computer Interrupt
Introduction
In the early years of computing, processors had to check each and every
hardware and software program in the system if there’s any signal that requires
processing. This method of checking the signal in the system for processing is
referred to as polling method.
The major disadvantage of this method is that the processor has to waste
number of clock cycles just for checking the signal in the system. Hence, the
processor becomes unnecessarily busy, and as such affects the performance as
well as the response time of the system.
TYPES OF INTERRUPTS
Although interrupts have highest priority than other signals, there are many type
of interrupts but basic type of interrupts are
1. Hardware Interrupts: If the signal to be processed is from an external
device or hardware is called hardware interrupt.
Example: when a particular button from the keyboard is pressed to perform certain
actions, this will generate a signal that will enable the processor to execute that
instruction.
Department of Computer Engineering
Hardware interrupts can be classified into two namely;