Section 3: Assembler
165
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.6.2. Asm68 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.18 summarizes the symbol
directives for
asm68
. For more information, see section
3.3.5 Symbols
.
Directive Function
.comm
Define a comm symbol
.extern
Declare external a referenced symbol
.external
Declare external a referenced symbol
.global
Declare external a defined symbol
.globl
Declare external a defined symbol
.lcomm
Define an lcomm symbol
.xdef
Declare external a defined symbol
.xref
Declare external a referenced symbol
Table 3.18: Symbol Directives