9691 Discussion Group
unread,Aug 25, 2011, 1:45:50 AM8/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.