Crossware

Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->ELSEC

ELSEC    Assembly following block if previous condition not met

(For compatibility with other assemblers, ELSE is also recognised.)


The ELSEC directive indicates the start of a block of statements to be conditionally assembled. The block of statements will be assembled if the previous IFcc condition was not met.

Conditional assembly directives can be nested and so the ELSEC matches the previous IFcc directive.  An error is generated if a matching IFcc directive has not been encountered and the end of the file has been reached.

Format:

    ELSEC    <comment>

    ELSE    <comment>