166
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.6.3.
Asm68 Data/Fill Directives
Data directives are used to generate integer and floating-point data. Integer data
can be expressed as integer constants, character constants, or any integer
expression (see section 3.3.7 Expressions). Floating-point data can be
expressed as either floating-point symbols or floating-point constants. A single
data directive can be used to generate multiple data items. Fill directives are
used to allocate storage, typically for uninitialized data. Table 3.19 summarizes
the data and fill directives for asm68. For more information, see sections
3.3.5 Symbols and 3.3.6 Constants.
Directive
Function
.align
Align location counter
.ascii
Generate integer data (byte)
.bin
Include contents of binary file
.byte
Generate integer data (byte)
.double
Generate TI BCD floating-point data
.extend
Not supported
.fill
Generate a block of initialized data
.float
Generate TI BCD floating-point data
.fpdata
Not supported
.long
Generate integer data (long-word)
.packed
Not supported
.short
Generate integer data (word)
.single
Not supported
.space
Generate a block of uninitialized data
.word
Generate integer data (word)
Table 3.19: Data/Fill Directives