Suppose that a RISC machine uses five register windows. a) How deep can the procedure calls go
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 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?
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: 9781284259438
6th Edition
Authors: Linda Null, Julia Labur
Question Posted: