EasyManua.ls Logo

Texas Instruments TI-89 - Page 282

Texas Instruments TI-89
334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
270
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[.S] [
section
:]
symbol
[, [
section
:]
symbol
] . . .
Description
section
Specifies the number of the section in which the symbol is
defined. It is an absolute expression that cannot contain any
forward, external, or undefined references.
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.
Failure to declare such a symbol to have external scope results in an error (see
also
-E
flag).
The
.S
qualifier is used to indicate that the symbol(s) can be referenced with the
absolute short addressing mode. The optional section number is ignored; it is
recognized only for Motorola compatibility.
Examples
XREF base,init,input
XREF.S proc1

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals