Assembler : Directives : FAIL

FAIL - Aborts the compilation. Often used within a macro for argument error detection.

Example :
  

 addw      .macro
           ; check the number of args
           ;
           .if (\@ != 2)
           .fail "addw: wrong arg number!"
           .endif
 
           ...
 
           .endm