Instruction Manual

ERROR (Conditional Assembly)
The ERROR directive causes the Neuron Assembler to display a user-defined
error message. This error leads to an assembly failure, and is counted in the
overall assembly statistics.
This directive is useful for managing and validating conditional compilation.
This directive is only available with the IzoT NodeBuilder FX Development Tool
(and later versions).
Syntax:
The ERROR directive requires a quoted string as its argument, and cannot have
a label.
ERROR “string
Example:
The following example stops compilation for the current file and displays a
message when neither the AAA nor the BBB conditional compilation symbols are
defined:
IFDEF AAA
ELSE
IFDEF BBB
ELSE
ERROR “You must define either AAA or BBB”
ENDIF
ENDIF
Neuron Assembly Language Reference 141