Section 3: Assembler
197
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.scl — Set Storage Class Attribute
Syntax
.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 directive sets the storage class attribute of the symbol referenced by the
current attribute block (see .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 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 directive).
Example
.def x
.val 3
.scl 4
; x is in a register
.type 4
.endef