Reference Guide
Chapter 4 113
Assembler Directives and Pseudo-Operations
.SUBSPA Directive
Discussion
The first time the Assembler encounters a .SUBSPA directive with a new
name, it uses that name to declare a new subspace. As this is the
defining occurrence of that subspace, optional keywords describe
attributes of that subspace.
When the Assembler encounters additional .SUBSPA directives with that
name, it continues that subspace. In this case, the .SUBSPA directive can
only contain the subspace name; other keywords to describe the subspace
are illegal.
Example
This example shows some of the standard “subspace” definitions in a
typical assembly language program.
.SUBSPA $CODE$, QUAD=0,ALIGN=8,ACCESS=0x2c,SORT=24,CODE_ONLY
.SUBSPA $DATA$, QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=16
.SUBSPA $TBSS$, QUAD=1,ALIGN=8,ACCESS=0x1f,ZERO, TSPECIFIC, SORT=40