Section 3: Assembler
285
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
IF . . . ELSE . . . ENDI — Perform Conditional Execution
Syntax
IF[.
size] expression THEN[.extent ]
[
statement]
.
.
.
ENDI
– or –
IF[.
size] expression THEN[.extent ]
[
statement]
.
.
.
ELSE[.
extent ]
[
statement]
.
.
.
ENDI
Description
size
Specifies the size qualifier for the structured control
expression.
The legal values are shown below; if omitted, the size is
determined according to the rules discussed in section
3.4.2 Instruction Sizing.
B
Byte Integer.
W
Word Integer.
L
Long-word Integer.
S
Single-precision Real (not supported).
D
Double-precision Real (not supported).
X
Extended-precision Real (not supported).
P
Packed Decimal Real (not supported).
expression
Specifies a structured control expression (see section
3.8.2.1 Structured Control Expressions).