Question: Suppose that a RISC machine uses five register windows. a) How deep can the procedure calls go before registers must be saved in memory? (That
Suppose that a RISC machine uses five register windows.
a) How deep can the procedure calls go before registers must be saved in memory? (That is, what is the maximum number of “active” procedure calls that can be made before we need to save any registers in memory?)
b) Suppose two more calls are made after the maximum value from Part (a) is reached. How many register windows must be saved to memory as a result?
c) Now suppose that the most recently called procedure returns. Explain what occurs.
d) Now suppose one more procedure is called. How many register windows need to be stored in memory?
Step by Step Solution
3.37 Rating (156 Votes )
There are 3 Steps involved in it
a In a RISC machine with five register windows each window has a set number of registers available f... View full answer
Get step-by-step solutions from verified subject matter experts
