INFO directive supports diagnostic generation on either pass of the assembly.
is a numeric expression that is evaluated duringassembly. If the expression evaluates to zero:
No action is taken during pass one.
string-expressionis printed as a warning during pass two if
string-expressionisprinted as a message during pass two if
severityis0 or not specified.
If the expression does not evaluate to zero:
string-expressionisprinted as an error message and the assembly fails irrespectiveof whether
severityis specifiedor not (non-zero values for
severityarereserved in this case).
is an expression that evaluates to a string.
is an optional number that controls the severityof the message. Its value can be either 0 or 1. All other valuesare reserved.
INFO provides a flexible means of creatingcustom error messages.
! is very similar to
INFO, but has less detailed reporting.
INFO 0, "Version 1.0" IF endofdata <= label1 INFO 4, "Data overrun at label1" ENDIF