Professional Documents
Culture Documents
Adnan 11836 CAAL Assignment
Adnan 11836 CAAL Assignment
North Campus
Assignment 1 Spring Semester 2021
BS(CS)-
Subject Comp arch assembly language Program
BS(SE)
Submission 15th april
Faculty Engr. Javeria Barkat
Deadline 2021
No. of Students Maximum Marks 5
Page 1 of 2
Adnan 11836
Adnan 11836
Q. No. 2 Max Marks 2
Define interrupts, types of interrupts, strategies to handle multiple interrupts, common example of any interrupt.
Answers
Question 01
Question 02
Interrupts:
Definition:
Mechanism by which other modules may be interrupted from performing the regular processing operations
is known as interrupt in computer architecture.
Types of Interrupts:
There are four basic types of interrupts namely hardware Failure, input/output, program and timer.
Different interrupts are handled by following different precautions for example if an hardware failure
interrupt rises so to overcome that interrupt we will check if all the hardware interconnections are done
correctly or not, similarly if any other interrupt rises that will be tackled in a different way .
The most common example of an interrupt is when a mouse is disconnected from its port or a keyboard so it
gives signal to the microprocessor and it generates an interrupt. Hardware interrupt can arise any time at the
during execution of instruction.
Page 2 of 2
Adnan 11836