An introduction to assembly on Apple Silicon Macs. In this repository, I will code along with the book Programming with 64-Bit ARM Assembly Language, adjusting all sample code for Apple's ARM64 line of computers. While Apple's marketing material seems to avoid a name for the platform and talks only about the M1 processor, the developer documentation uses the term "Apple Silicon". You need Xcode 12.2 or later, and to make things easier, the command line tools should be installed. This ensures that the tools are found in default locations. All application samples also require at least macOS Big Sur, iOS 14 or their respective watchOS or tvOS equivalents. Especially for the later three systems it is not a necessity per-se (neither is Xcode 12.2), but it makes things a lot simpler. Finally, while all samples can be adjusted to work on the iPhone and all other of Apple's ARM64 devices, for best results you should have access to an Apple Silicon Mac.
Features
- You need Xcode 12.2 or later
- All application samples also require at least macOS Big Sur, iOS 14 or their respective watchOS or tvOS equivalents
- The book uses Linux GNU tools
- Clang requires the source register to be 32-Bit
- Interface with Kotlin and Swift
- Multiply, Divide, and Accumulate
- Floating-Point Operations