TAL Programmer's Guide

Process Environment
Introducing the Environment
096254 Tandem Computers Incorporated 4–3
Figure 4-1 shows the organization of the user data segment.
Figure 4-1. User Data Segment
Global storage area
Local storage for
main procedure
Local storage for
called procedures
Parameter storage for
current procedure
Local storage for
current procedure
Sublocal data and
parameter storage for
current subprocedure
Available for dynamic
allocation by the
TAL compiler
G[0]
L[0]
L[1]
S[0]
G[32767]
G[32768]
Global area
Local area
Sublocal area
Available for
allocation by the
user or reserved
by the CRE
Stack marker for
current procedure
Dummy stack marker
for main procedure
Limit of data stack
Current top of data stack
Lower 32K-word area
Upper 32K-word area
G[65535]
Word address
346