4.9.56 Warn Directive

The WARN directive produces a user-defined build-time warning message. Execution of this directive will not prevent the assembler from building. The warning to be printed should this directive be executed is specified as a string. Typically this directive will be made conditional, to detect an invalid situation.

For example:

IF MODE
  movwf modeQ
ELSE
  WARN "MODE is zero - write skipped"
ENDIF