Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the interrupt mechanism. Suppose we make the following change. We add two new registers in the cpu: IPC and IPSW. When interrupt occurs, the
Consider the interrupt mechanism. Suppose we make the following change. We add two new registers in the cpu: IPC and IPSW. When interrupt occurs, the old PC is pushed onto IPC and the old PSW is pushed onto IPSW. (So we don't push PC, PSW onto the stack.) Similarly, when RTI is executed, PC and PSW get values from IPC and IPSW respectively (not from the stack). There are no other changes. Explain what problem will arise due to this change (in less than 20 words).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started