NOTE
Assembler Directives and
.SPNUM
.SPNUM Pseudo-Operation
The .SPNUM
Syntax
.SPNUM name
Parameters
name | Specifies the name of a space whose space number is |
| used to initialize a word of storage. |
Space numbers are ignored by the linker.
Example
In this example, the space number of $PRIVATE$, 1, is stored as the address of the symbol LOG by the .SPNUM
| .SPACE | $PRIVATE$,SPNUM=1 | SORT=16 |
|
data_ref | .SUBSPA | $DATA$,QUAD=1, | ALIGN=8,ACCESS=0x1f | SORT=24 |
.WORD |
| 0xFFFF |
| |
|
|
| ||
LOG | .SPNUM |
| $PRIVATE$ |
|
108 | Chapter 4 |