Section 3: Assembler
213
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.7.4. Asm68k 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.27 summarizes the
assembly control directives for
asm68k
.
Directive Function
.cmnt
Begin comment block
.elifdef
Assemble if alternative symbol defined
.else
Assemble if converse true
.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
ELSEC
Assemble if converse true
END
End assembly
ENDC
End conditional assembly block
FOPT
Not supported
IFC
Assemble if strings equal
IFcc
Assemble if condition true
IFNC
Assemble if strings not equal
INCLUDE
Include assembler source file
MASK2
Not supported
OPT
Set assembler options
Table 3.27: Control Directives