Question: Assume that, there is an existing interrupt handler defined, and the interrupt vector entry points this handler. Task is add some computation just before the

Assume that, there is an existing interrupt handler defined, and the interrupt vector entry points this handler. Task is add some computation just before the predefined handler is executed.

Assume also, you cannot update the existing handler. Code will work every time tihs interrupt arrives and then the control is transferred to the existing handler just after your code. Explain the necesaary updates to the interrupt vector and then give assembly listing for the additional code. You may define a dummy computational task in your code. The contents of dummy computation are out-of-focus but you may want to consider the registers changed by this computation. This is for 32-bit Intel Architecture.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!