206
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.val — Set Value Attribute
Syntax
.val
value
Description
value
Specifies the value of the current symbol. It is an absolute or
simple relocatable expression.
The .val directive sets the value attribute of the symbol referenced by the current
attribute block (see .def directive). The meaning of the value attribute is
dependent upon the selected storage class (see section 1.4.8.4 Symbol Value
Field). This directive can appear at most once per symbol attribute block.
The
.val
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 x
; x is a variable
its value is its location
.scl 2
.type 4
.endef