32-bit ELF binary how to assemble and link: nasm -f elf32 -o <filename>.o <filename>.asm ld -m elf_i386 -o <filename> <filename>.o template code (hello world): section .text global _start