234
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
EQU — Define an Integer Symbol
Syntax
symbol
EQU
value
Description
symbol
Specifies a symbol that is not defined elsewhere in the current file.
It must appear in the label field of the statement.
value
Specifies the value of the symbol. It is an absolute or simple
relocatable expression that cannot contain any forward, external,
or undefined references.
The
EQU
directive defines the symbol
symbol
and assigns to it the value
value
.
The symbol is defined with static scope (the
XDEF
directive can be used to
expand its scope to external). For more information, see
SET
directive and refer
to section
3.3.5.3 Symbol Assignment
.
Examples
BUF_SIZE EQU 1024
TOT_LEN EQU SYM_LEN+STR_LEN
.extend — Generate Floating-Point Data (Extended-Precision)
Not supported by Texas Instruments. However,
.extend
is still recognized as a
reserved name by
asm68k
.