Section 3: Assembler
167
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.6.4.
Asm68 Control Directives
Assembly control directives provide mechanisms for controlling when and how
instructions and directives are assembled. Their uses include option setting,
conditional assembly, and source file inclusion. Table 3.20 summarizes the
assembly control directives for asm68.
Directive
Function
.cmnt
Begin comment block
.elifdef
Assemble if alternative symbol defined
.else
Assemble if converse true
.end
End assembly
.endc
End comment block
.endif
End conditional assembly
.ifdef
Assemble if symbol defined
.ifndef
Assemble if symbol not defined
.include
Include assembler source file
.opt
Set assembler options
Table 3.20: Control Directives
3.6.5.
Asm68 Output Directives
Output directives are used to format assembly listing files and to generate
diagnostic messages. Table 3.21 summarizes the output directives for asm68.
Directive
Function
.echo
Echo message
.page
Begin new listing page
Table 3.21: Output Directives