Suppose that a RISC machine uses five register windows. 1. a) How deep can the procedure calls
Question:
Suppose that a RISC machine uses five register windows.
1.
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?)
2.
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?
3.
c) Now suppose that the most recently called procedure returns. Explain what occurs.
4.
d) Now suppose one more procedure is called. How many register windows need to be stored in memory?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Essentials Of Computer Organization And Architecture
ISBN: 9781284123036
5th Edition
Authors: Linda Null, Julia Lobur
Question Posted: