Suppose a RISC machine uses overlapping register windows for passing parameters between procedures. The machine has 298
Question:
Suppose a RISC machine uses overlapping register windows for passing parameters between procedures. The machine has 298 registers. Each register window has 32 registers, of which 10 are global variables and 10 are local variables. Answer the following:
a) How many registers would be available for use by input parameters?
b) How many registers would be available for use by output parameters?
c) How many register windows would be available for use?
d) By how much would the current window pointer (CWP) be incremented at each procedure call?
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: