GCC - Style Inline Assembly

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.

Figure 1. Example of GCC-style inline assembly
void g(void)
{
  asm ("add r2,r3,r4\n\t");
}