Being able to compile assembly directly into a C program is a very useful tool for allowing optimizations across embedded assembly. One way around it is use of intrinsics:
http://en.wikipedia.org/wiki/Intrinsic_function which is basically what we're talking about.