180
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.else — Assemble If Converse True
Syntax
.else
Description
The
.else
directive is used in a conditional assembly block. This directive
matches the immediately preceding
.ifdef
,
.ifndef
, or
.elifdef
directive that is not
matched by a
.endif
or
.else
directive. If this preceding directive fails, then the
statements between the
.else
directive and the matching
.endif
directive are
assembled; otherwise, these statements are skipped.
The
.else
directive is optional within a conditional assembly block.
Example
.ifdef debug
moveq #1,d0
.else
moveq #0,d0
.endif
.end — End Assembly
Syntax
.end
Description
The
.end
directive ends assembly in the current source file. Any assembler
statements appearing after this directive are ignored.
.endc — End Comment Block
Syntax
.endc
Description
The
.endc
directive ends a comment block (see
.cmnt
directive).