[link] “iOS Assembly Tutorial: Understanding ARM”
When you write Objective-C code, it eventually turns into machine code – the raw 1s and 0s that the ARM CPU understands. In between Objective-C code and machine code, though, is the still human-readable assembly language.
Understanding assembly gives you insight into your code for debugging and optimizing, helps you decipher the Objective-C runtime, and also satisfies that inner nerd curiosity.
In this iOS assembly tutorial, you’ll learn:
- What assembly is – and why you should care about it.
- How to read assembly – in particular, the assembly generated for Objective-C methods.
- How to use the assembly view while debugging – useful to see what is going on and why a bug or crash has occurred.