A RISC machine has 128 registers out of which 32 registers are reserved for the Global variables and 32 for Instruction related tasks.

, , No Comments
A RISC machine has 128 registers out of which 32 registers are reserved for the Global variables and 32 for Instruction related tasks. This machine has been designed to have 8 registers for storing two input parameters, two output parameters and four local variables for function call. Explain with the help of a diagram, how the overlapped register window can be implemented in this machine for function/procedure calls. You must explain how the parameters will be passed when a function calls another function. How many levels of calls such a machine can support?

0 टिप्पणियाँ:

Post a Comment