[FATAL]
The asm directive needs a endasm at the end. If the compiler does not find one, this message is issued.
#asm
Check where the endasm is missing. Generate a preprocessor output (option -Lp) to find the problem.