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