Reference Guide
78 Chapter 4
Assembler Directives and Pseudo-Operations
.DWORD Pseudo-Operation
.DWORD Pseudo-Operation
The .DWORD pseudo-operation reserves storage and initializes it to the
given value.
Syntax
.DWORD [ init_value[,init_value] ...]
Parameters
init_value An absolute expression, a decimal, octal, or
hexadecimal number, or a sequence of ASCII
characters surrounded by quotation marks. If you omit
the initializing value, the Assembler initializes the
area to zero.
Discussion
The .DWORD pseudo-operation requests 64 bits of storage. If the location
counter is not properly aligned on a boundary for a data item of that size,
the Assembler advances the location counter to the next multiple of that
item's size before reserving the area.
When you label the pseudo-operation, the label refers to the first byte of
the storage area. Operands separated by commas initialize successive
units of storage.
Example
The first pseudo-operation advances the current subspace's location
counter to a double word boundary, allocates a double word of storage
labeled F and initializes that double word to minus 64 (2s complement).
The second pseudo-operation initializes a double word of storage to the
hexadecimal number 6effffff12345678.
F .DWORD 64
.DWORD 0X6effffff12345678