Explore ARM64 assembly with this compact and fun Hello World app tailored for Apple Silicon
Assemble your assembly to object files:
as hello.s -o hello.o
Create an executable by using the linker:
ld hello.o -o hello -l System -syslibroot `xcrun -sdk macosx --show-sdk-path` -e _main -arch arm64