TAL Programmer's Guide
Parameter Masks
Using Procedures
11–40 096254 Tandem Computers Incorporated
VARIABLE Parameter Area
Figure 11-4 shows the parameter area of PROC_A when called by A_CALLER in the
preceding example. The figure shows:
Storage allocation for the formal parameters P1 through P6 of PROC_A
Storage of actual parameters X, Y, and Z passed by A_CALLER
Storage of the parameter mask of PROC_A.
The value of the parameter mask (%000032) represents the bit settings for the actual
parameters (shown in Figure 11-3 earlier in this section).
Figure 11-4. Parameter Area of a VARIABLE Procedure
Word parameter mask
Local data for
A_CALLER
Omitted
X
Y
Z
Omitted
Omitted
%000032
Stack marker
Local data
for PROC_A
Formal
parameter
allocation
Actual parameter storage
P1
P2
P3
P4
P5
P6
L[n]
L[1]
L[-3]
L[-9]
L[0]
Procedure parameter area
343