Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

D | Question 20 2 pts What\'s the difference between the green boxes and the blu

ID: 2293650 • Letter: D

Question

D | Question 20 2 pts What's the difference between the green boxes and the blue boxes in this diagram? Interrupt Handling Initialize interrupt vector Complete current table with ISR address instruction (generally) Clear interrupt fiag Perform Necessary Instructions Clear Instruction Initialize the stack to handle the ISR Enable the specif maskable interrup Calculate return address Restore previous system state Store present systm state [Allow other interrupts Globally enable a maskable interrugts Prevent other interrupts] Transfer program control back to task Program begin executing main Fetch highest pri Interrupt ens vec Continue task previously running Transfer prog control to

Explanation / Answer

Green boxes represent handling of present instruction(i.e. saving its present task in particular address) after happening of an interrupt. In this box, the processor completes present instruction and fetches the highest priority non maskable interrupt and transfers to ISR

Blue boxes represent the handling of interrupt using Interrupt vector table which has a queue of interrupts using the interrupt handler known as ISR. These boxes disappear when interrupt happens and green box appear after interrupt happens.