Reference Guide
106 Chapter 4
Assembler Directives and Pseudo-Operations
.SPACE Directive
.SPACE Directive
The .SPACE directive starts a new space or switches back to an old
space. The Assembler ignores the .SPACE directive for 64-bit assembly
programs. For more information, see “Sections in 64-bit Mode” on page
44.
Syntax
Parameters
name An identifier that names the new space.
NOTDEFINED Specifies that the definition for this space occurs in
another object module.
PRIVATE Specifies that other programs cannot share the data in
this space. The enforcement of this directive depends
on the operating system.
SORT=value Provides an integer value for the sort key. The linker
orders the spaces in the output object module according
to this key. It is suggested that the number “8” be used
for space $TEXT$ and the number “16” be used for
$PRIVATE$.
SPNUM=value A space number constant that provides a specific
number for the current space. Its use is currently
optional and is ignored by the linker. If the first
parameter of the .SPACE directive is an integer, it will
be interpreted as the space number and any remaining
parameters will be ignored.
.SPACE name
,NOTDEFINED
,PRIVATE
,SORT=value
,SPNUM=value
,TSPECIFIC
,UNLOADABLE
...