Section 3: Assembler
247
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.ln / LN — Create Line Number Entry
Syntax
.ln
line
LN
line
Description
line
Specifies the current line number in the source file. It is an
absolute expression that cannot contain any forward, external, or
undefined references.
The .ln / LN directive creates a line number entry for purposes of source-level
debugging. This entry associates the current section’s location counter with a line
in the associated C source file. For more information, see section 1.4.6 Line
Number Information. This directive cannot be used in BSS-type sections.
The .ln / LN directive is typically used only for C source-level debugging; it is
ignored when assembler source-level line number information is generated with
the
-L
command line flag.
Example
LN 33
ADD D0,D1