the following code is rejected by ArmCC compiler
asm (
"@ MOV R0, %0\n"
"@ MOV R1, %1\n"
"@ MOV R2, %2\n"
"swi 3\n" : : "r" (irq), "r" (isr), "r" (pri)
);
I understand that armclang will happily eat that as it's GCC type syntax
How should I write that for armcc?
Thanks
David