Section 3: Assembler
211
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.7.2. Asm68k Symbol Directives
Symbol directives are used to define symbols, declare their scopes, and set their
values. By default, symbols have static scope, i.e., they are local to the files in
which they are defined. In order to be referenced from within other files, they
must be declared to have external scope. Table 3.25 summarizes the symbol
directives for
asm68k
. For more information, see section
3.3.5 Symbols
.
Directive Function
.comm
Define a comm symbol
.global
Declare external a defined symbol
.globl
Declare external a defined symbol
.lcomm
Define an lcomm symbol
COMM
Define a comm symbol
EQU
Define an integer symbol
FEQU
Not supported
LCOMM
Define an lcomm symbol
REG
Define a register list symbol
SET
Define/redefine an integer symbol
XDEF
Declare external a defined symbol
XREF
Declare external a referenced symbol
Table 3.25: Symbol Directives