![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Discuss the MultiLevel Interrupts in Computer Architecture?
In multilevel interrupts, more than one interrupt pin is present in the processor. Hence, interrupts can be recognized by the CPU on getting an interrupt request from some of the interrupt pins.
The figure shows the multilevel interrupt system.
Let us now discuss the process flow of a multilevel interrupt. When the external asynchronous input is inserted, the logic control of a multilevel interrupt is as follows −
- The processor completes its current instruction.
- The current contents of the program counter are stored in the stack.
- The program counter is loaded with the address of an interrupt service routine.
- Program execution reaches with the instruction taken from the memory location pointed by the new program counter contents.
- The interrupt program is executed until a return instruction is executed.
- Once the RET instruction receives the old address from the stack, it puts back the address into the program counter. This allows the interrupted program to continue executing the instruction following the one where it was interrupted.
Advertisements