Table of Contents Previous topic Next topic
ASSEMBLER DIRECTIVES->Other Assembler Directives->FAIL Generate Assembly Warning
The FAIL directive generates a warning message:
"Warning at line xxxx FAIL directive encountered"
and adds one to the warning count. After the warning has been generated, assembly proceeds normally.
The FAIL directive is most useful when used in conjunction with conditional assembly. It can then be used to check such things as the number of operands in a macro call, the value of a symbol, etc. Section 4.4 contains an example which uses the FAIL directive.