I have written a basic program with nasm, assembled with
nasm -g -F dwarf -f elf64 hello.asm
linked with
ld -o hello hello.o <