Section 3: Assembler
255
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
REG — Define a Register List Symbol
Syntax
symbol
REG
register
[–
register
] [/
register
[–
register
]] . . .
Description
symbol
Specifies a symbol that is not defined elsewhere in the current file.
It must appear in the label field of the statement.
register
Specifies a data, address, or floating-point register.
Hyphen-separated ranges must be specified in ascending order.
The
REG
directive defines the symbol
symbol
and assigns to it the specified
register list. Register list symbols are suitable for use with the
MOVEM
and
FMOVEM
instructions. For more information on register list specification, see
section
3.5.3 Effective Address Syntax
.
Examples
SAVE REG D3-D7/A2