You copied the Doc URL to your clipboard.

21.47 INFO

The INFO directive supports diagnostic generation on either pass of the assembly.


INFO numeric-expression, string-expression{, severity}



is a numeric expression that is evaluated duringassembly. If the expression evaluates to zero:

  • No action is taken during pass one.

  • string-expression is printed as a warning during pass two if severity is 1.

  • string-expression isprinted as a message during pass two if severity is0 or not specified.

If the expression does not evaluate to zero:

  • string-expression isprinted as an error message and the assembly fails irrespectiveof whether severity is specifiedor not (non-zero values for severity arereserved 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

Related reference

Was this page helpful? Yes No