main
Trying out assembly on osx
(Replace * by the name of the file)
Install asm on osx
brew install nasm
Compile into *.o
nasm -f macho64 *.asm
Compile *.o inti binary
ld -macosx_version_min 10.7.0 -o * *.o
Run
./*
Reference
https://medium.com/@thisura1998/hello-world-assembly-program-on-macos-mojave-d5d65f0ce7c6 https://cs.lmu.edu/~ray/notes/asmtoexe/
Languages
Assembly
100%