maddievision / helloasm

very simple hello, world in x86_64 (aka, x64) assembly for macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helloasm

very simple hello, world in x86_64 (aka, x64) assembly for macOS

building

you'll need nasm and the Xcode Command Line Tools.

to install nasm:

$ brew install nasm

then you can build the executables!

$ make

running

hello, world using printf

$ ./hello
hello ✨

hello, world using syscalls only

$ ./helloraw
hello ✨

hello, name

$ ./helloname
what's your name? sparkles

hello, sparkles ✨

About

very simple hello, world in x86_64 (aka, x64) assembly for macOS


Languages

Language:Assembly 57.7%Language:Makefile 42.3%