Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Narendar Singh

macrumors member
Original poster
Jun 22, 2012
76
0
INDIA
AFAIK iOS uses ARM 7.

So can we write directly assembly language code for iOS based devices?

Definitely we need to check ARM Instruction Set.
 
Yes, you can.

In XCode, new file->other->assembly file will get you started.

You can also use GCC inline assembly syntax (which, I believe, LLVM supports as well).
 
Yes, you can.

In XCode, new file->other->assembly file will get you started.

You can also use GCC inline assembly syntax (which, I believe, LLVM supports as well).
Sounds good.

I will start learning this soon. Additionally if you know any recommended book or any resource for that then it would be great, I will also use search engines for that.
 
What are you doing that makes you want to write ARM assembly? Just curious.

We've had good luck using the NEON intrinsics when we needed high-performance floating point, FWIW.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.