Section 3: Assembler
209
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.7. Asm68k Assembler Directives
Assembler directives are used in assembly source to generate data and to alter
the assembler’s object code generation behavior. This section describes the
various directives supported by
asm68k
and supplies examples of their typical
usage. The directives are first presented in functional groups, a summary of
which is presented in Table 3.23. For ease of reference, full descriptions of the
directives, including syntax and examples, are then provided in an alphabetically
arranged format.
Group Description
Section directives Create and resume sections
Symbol directives Create and modify symbols
Data/Fill directives Generate initialized/uninitialized data
Control directives Control assembly
Output directives Specify output settings
Debugging directives Generate debugging information
Table 3.23: Directive Groups
The mnemonics for the
asm68k
assembler directives, like those for instructions,
are written in either all uppercase or all lowercase characters. The lowercase
mnemonics all begin with a period ( . ) and they are extensions to the Motorola
M68000 Resident Structured Assembler. The additional mnemonics (from
asm68
) are needed to allow
asm68k
to support the assembly code generated by
the Sierra Systems compiler,
com68
. Note that all mnemonics, regardless of the
case they are shown in, can be written in either lowercase or uppercase
characters. When two mnemonics are equivalent and referenced from within this
document, the names of the mnemonics are shown separated by a slash
(e.g.,
.global / XDEF
).