How interrupts are served by the microprocessor.

11 views
Skip to first unread message

9691 Discussion Group

unread,
Aug 25, 2011, 1:45:50 AM8/25/11
to Computing (9691 CIE Syllabus)
How interrupts are served by the microprocessor.

* When an interrupt is generated it goes to a queue, which is
maintaining the interrupts according to their priorities.
* Microprocessor finishes the execution of currently fetched
instruction
* Checks for the priority of current running job with the next
available interrupt in queue.
* If the priority of currents running job is higher than the interrupt
then job running goes on.
* Else the data of current job in registers is saved and interrupt is
served.
* The data related to the last job running is reloaded and execution
continues.
* When execution of instructions, no matter original job or interrupt
related job, is going on after every instruction’s execution the
interrupt queue is always checked and process might become whirlpool
until it gets back to the original (first) program’s instruction
execution.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages