Section 3: Assembler
199
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.short — Generate Integer Data (Word)
Syntax
.short
operand
[,
operand
] . . .
Description
operand
Specifies an integer expression.
The
.short
directive generates word integer data. The values of the specified
operands are placed in successive words beginning at the current location in the
current section. A warning is issued if the alignment is odd. This directive is a
synonym for the
.word
directive. For additional information, refer to section
3.3.6.2 Character Constants
.
Examples
.short 'ab' ; 6162
.short 01777,1023,0x3ff ; 03ff 03ff 03ff
.short 1024 * 16 ; 4000
Each of the above examples is shown with the sequence of words (in
hexadecimal) that it generates.
.single — Generate Floating-Point Data (Single-Precision)
Not supported by Texas Instruments. However,
.single
is still recognized as a
reserved name by
asm68
.