Question: Suppose that a RISC machine uses 5 register windows. a) How deep can the procedure calls go before registers must be saved in memory? (That

 Suppose that a RISC machine uses 5 register windows. a) How

Suppose that a RISC machine uses 5 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

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!