208
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.xref — Declare External a Referenced Symbol
Syntax
.xref
symbol [, symbol] . . .
Description
symbol
Specifies a symbol that is referenced (but not defined) in the
current file. Section names and floating-point symbols are not
allowed.
The .xref directive declares the scope of the symbol
symbol to be external. This
is necessary when a locally referenced symbol is defined in another source file.
Symbols that are referenced in a file but not defined in that file are assumed to
have external scope; therefore, this directive is not necessary (unless the
-E
flag
is specified on the command line).
Examples
.xref base, init, input
.xref proc1