The CodeWarrior compiler accepts GCC (Gnu Compiler Collection) syntax for inline assembly statements:
asm("assembly-statements\n")
where assembly-statements represents inline assembly statements that follow the syntax recognized by the GCC C/C++ compiler.
void func(void) { asm("add r0, r1\n"); }