212
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.7.3.
Asm68k 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.26 summarizes
the data and fill directives for asm68k. For more information, see sections
3.3.5 Symbols and 3.3.6 Constants.
Directive
Function
.align
Align location counter
.bin
Include contents of binary file
.byte
Generate integer data (byte)
.double
Generate TI BCD floating-point data
.extend
Not supported
.float
Generate TI BCD floating-point data
.long
Generate integer data (long-word)
.short
Generate integer data (word)
.space
Generate a block of uninitialized data
.word
Generate integer data (word)
BIN
Include contents of binary file
COMLINE
Generate a block of uninitialized data
DC
Generate integer/floating-point data
DCB
Generate a block of initialized data
DS
Generate a block of uninitialized data
Table 3.26: Data/Fill Directives