This assembly is then assembled by an assembler (say that three times fast!) into machine code, the raw 1s and 0s that the CPU reads. Your Objective-C code is compiled by a compiler into assembly language: low-level, but still not the lowest level. Objective-C is what is known as a high-level language. Warm up your copy of Xcode 4 and get ready to dive into the innards of ARM! If you are not at all familiar with CPUs, you might need a little pre-reading before continuing. You should also understand some simple computer science concepts such as the stack, the CPU and how they work. To get the most out of this tutorial, you should already be familiar with Objective-C programming. How to use the assembly view while debugging – useful to see what is going on and why a bug or crash has occurred.How to read assembly – in particular, the assembly generated for Objective-C methods.What assembly is – and why you should care about it. ![]() In this iOS assembly tutorial, you’ll learn: 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 between Objective-C code and machine code, though, is the still human-readable assembly language. When you write Objective-C code, it eventually turns into machine code – the raw 1s and 0s that the ARM CPU understands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |