260
Section 3: Assembler
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. 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.