Skip to content

Instantly share code, notes, and snippets.

@carloscarcamo
carloscarcamo / hello.s
Created September 10, 2015 20:12
Hello world in GNU Assembler (GAS)
# -------------------------------------------------------------
#
# Using Linux System calls for 64-bit
# to run:
# gcc -c hello.s && ld hello.o && ./a.out
# o
# gcc -nostdlib hello.s && ./a.out
#
# --------------------------------------------------------------