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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With