Section 3: Assembler
189
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.line — Set Line Number Attribute
Syntax
.line
line
Description
line
Specifies
the
number
of
the
line
on
which
the
current
symbol
is
defined. It is an absolute expression that cannot contain any
forward, external, or undefined references.
The .line directive sets the line number attribute of the symbol referenced by the
current attribute block (see .def directive). For a detailed description of this
attribute, see section 1.4.9 Auxiliary Table Entries. This directive can appear at
most once per symbol attribute block.
The .line 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 buf
.val buf
.dim 16,4
.scl 2
.type 0xf4
.line 25
; buf is defined on line 25
.size 256
.endef