Section 3: Assembler
191
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.long — Generate Integer Data (Long-Word)
Syntax
.long
operand
[,
operand
] . . .
Description
operand
Specifies an integer expression.
The
.long
directive generates long-word integer data. The values of the specified
operands are placed in successive long words beginning at the current location
in the current section. A warning is issued if the alignment is odd. For additional
information, see section
3.3.6.2 Character Constants
.
Examples
.long 'abcd' ; 61626364
.long 16777215, 0xffffff ; 00ffffff 00ffffff
.long 0xff << 24 ; ff000000
Each of the above examples is shown with the sequence of long words (in
hexadecimal) that it generates.