Hi,
the syntax errors repoted by the editor are shown because the editor does not understand inline assembler in C module.
The method Cpu_SetBASEPRI initialiyed the priority register BASEPRI during the initialization. The initialization influences what interrupts may occur (according to their priority level).
best regards
Petr Hradsky
Processor Expert Support Team