Section 3: Assembler
257
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.scl / SCL — Set Storage Class Attribute
Syntax
.scl
class
SCL
class
Description
class
Specifies the storage class of the current symbol. It is an absolute
expression that cannot contain any forward, external, or undefined
references.
The .scl / SCL directive sets the storage class attribute of the symbol referenced
by the current attribute block (see .def / DEF directive). For a list of recognized
storage classes, see section 1.4.8.2 Storage Class. This directive can appear at
most once per symbol attribute block.
The .scl / SCL directive is typically used only for C source-level debugging; it is
ignored when assembler source-level debugging information is generated with
the
-L
command line flag (see also .type / TYPE directive).
Example
DEF x
VAL 3
SCL 4
; x is in a register
TYPE 4
ENDEF