Question: In order to support interrupt nesting, it is necessary for the interrupt-service routine to save these registers on the processor stack, as described in. To

In order to support interrupt nesting, it is necessary for the interrupt-service routine to save these registers on the processor stack, as described in. To do so, the contents of the PS, which are saved in register IPS at the time the interrupt is accepted, need to be moved to one of the general-purpose registers, from where they can be saved on the stack. Assume that two special instructions

MoveControl Ri, IPS and MoveControl IPS, Ri

are available to save and restore the contents of IPS, respectively. Given the following hardware design:

In order to support interrupt nesting, it is necessary for the interrupt-service

Give the sequence of steps needed to fetch and execute the two special instructions. NOTE: I have found this question asked elsewhere on the site but all answers given refer to the general idea of fetching and executing instructions. I am familiar with the general process, I would like an example of how this process would progress in regards to these specific instructions.

pC-Temp Memory data RY RA. MuxIPS IPS pC-Temp Memory data RY RA. MuxIPS IPS

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!