TAL Programmer's Guide
Compiling With Relocatable Data Blocks
Compiling Programs
096254 Tandem Computers Incorporated 14–17
Primary Relocatable Data Blocks
The compiler creates and names primary data blocks as follows:
Primary Block Compiler-Assigned Name
Implicit #GLOBAL
Implicit &template-name (for each unblocked template structure)
Named The identifier specified in the BLOCK declaration
Private The identifier specified in the NAME declaration
The compiler allocates the following variables in primary data blocks:
Directly addressed variables
Standard or extended pointers (including those you declare and those the
compiler provides when you declare indirect arrays and structures)
The compiler associates the symbol information for the allocated variables with that
data block. The compiler also associates the symbol information for any LITERALs,
DEFINEs, or read-only arrays declared in that data block, but allocates 0 words of
storage for such declarations. If a global data block contains only LITERALs,
DEFINEs, or read-only arrays, the compiler creates a primary data block and
associates their symbol information with the data block, but allocates 0 words of
storage for the data block.
Size of Combined Primary Blocks. After a binding session, the combined primary global
data blocks in the resulting object file must not exceed 256 words.
Secondary Relocatable Data Blocks
The compiler creates and names secondary data blocks as follows:
Secondary Block Compiler-Assigned Name
Implicit .#GLOBAL
Named The identifier specified in the BLOCK declaration, prefixed with a dot (.)
Private The identifier specified in the NAME declaration, prefixed with a dot (.)
Secondary data blocks contain the data of standard indirect arrays and standard
indirect structures.
Extended Relocatable Data Blocks
The compiler names the extended data blocks as follows:
Extended Block Compiler-Assigned Name
Implicit $#GLOBAL
Named The identifier specified in the BLOCK declaration, prefixed with $
Private The identifier specified in the NAME declaration, prefixed with $
Extended data blocks contain the data of extended indirect arrays and extended
indirect structures.