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
Get step-by-step solutions from verified subject matter experts
