-
brew install nasm
-
git clone
the repo -
Generate your object file:
nasm -f macho64 -o hello_world.o hello_world.asm
( list the contents of your directory to see if you made anything new... )
- Link the object file:
ld hello_world.o -o hello_world
- Run your new executable program:
./hello_world
Your terminal should print the contents. Hooray!