Runtime process stack

The stack format convention is designed to enhance the efficiency of Prolog and epilog function usage, parameter passing and the shared library support.

The stack format convention is designed to enhance the efficiency of the following:

  • Prolog and epilog function usage
  • Parameter passing
  • Shared library support

The Runtime Stack figure illustrates the runtime stack. It shows the stack after the sender function calls the catcher function, but before the catcher function calls another function. This figure is based on the assumption that the catcher function will call another function. Therefore, the catcher function requires another link area (as described in the stack layout). PWn refers to the nth word of parameters that are passed.

Figure 1. Runtime Stack
Runtime Stack