An Introduction to ARM64 Assembly on Apple Silicon Macs

In this repository, the focus is on assembly on Apple silicon Macs, adapting code from a book for ARM64 line of computers. Though Apple uses “M1 processor,” the developer docs refer to “Apple silicon.” Prerequisites include Xcode 12.2, macOS Big Sur, or iOS 14. Alignments, system call function numbers, and linkers differ between Darwin and Linux. GDB is replaced by LLDB on macOS. Need changes in assembly directives and stack handling. For variadic functions, arguments are passed differently on Darwin. Unique content includes making system calls, working with registers, and program flows. Controversially, Darwin system call numbers are private.#afssh9uzxppd23jdn213ijd0383njd929rq).

https://github.com/below/HelloSilicon

To top