The ELSEIF directive begins an alternate block after an
IF or ELSEIF directive. The ELSEIF block is
assembled only if the specified expression is evaluated and
the value is non-zero (TRUE). If the expression is zero (FALSE), the
ELSEIF block is not assembled and subsequent blocks of the
IF-ELSE-ENDIF construct are evaluated.
ELSEIF blocks are terminated by an ELSEIF,
ELSE, or ENDIF directive.
Note
The specified expression may contain only those symbols
defined using the SET and RESET directives. Symbols
defined with the EQU and SET statements may not be used
with the ELSEIF directive.
Do not confuse the ELSEIF directive with the
ELSEIF
statement. They are not equivalent and they may not be used with
the same symbols.
This directive may not be specified on the command line. It
must be specified in a source file.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.