168
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.6.6.
Asm68 Debugging Directives
Debugging directives are used to generate source-level debugging information.
They are typically generated by the Sierra Systems C compiler to allow
source-level debugging, but can also be used when programming in assembly
language. Table 3.22 summarizes the debugging directives for asm68.
The debugging directive descriptions are provided primarily to facilitate
interpreting the compiler-generated directives. Their use is not recommended for
programs written in assembly language. Instead, the
-L
command line flag
should be used in conjunction with the .type directive to provide a reasonable
level of debugging capability. When the
-L
command line flag is specified, a line
number entry is generated for each instruction and memory allocation directive in
text-type sections.
Directive
Function
.def
Begin symbol attribute block
.dim
Set array dimension attribute
.endef
End symbol attribute block
.file
Set name of source file
.line
Set line number attribute
.ln
Create line number entry
.scl
Set storage class attribute
.size
Set size attribute
.tag
Set tag name attribute
.type
Set type attribute
.val
Set value attribute
Table 3.22: Debugging Directives
3.6.7.
Asm68 Directive Reference
The remainder of this section provides, in alphabetical order, detailed
descriptions of the directives supported by asm68.