Possible Duplicate:
How do I do inline assembly on the IPhone?
I am running xcode4.2.1, can I do in line assembly i.e. __asm in the code?
Possible Duplicate:
How do I do inline assembly on the IPhone?
I am running xcode4.2.1, can I do in line assembly i.e. __asm in the code?
It's just a matter of using an inline specified and an asm() call:
inline void myFunction() {
__asm__(//asm goes here);
}
CLANG does use a similar but different form of ASM though (it's still pretty darn compatible with GAS, which can be read about here