Suppose a RISC machine uses overlapping register windows for passing parameters between…

Suppose a RISC machine uses overlapping register windows for passing parameters between procedures. The machine has 512 registers, and there are 18 are global variables and 38 total registers. Answer the following: a) How many registers would be available for use by input /output parameters if there are 14 local variables ? b) How many register windows would be available for use? c) By how much would the current window pointer (CWP) be incremented at each procedure call if each variable is 64 bits (8 bytes) ? The memory is byte addressable.