format ELF
section '.text'
executable public _start
_start:
xor eax,eax
push eax
inc eax; 1 = sys_exit
int 0x80
Compiling this with fasm simple.asm -o simple.o
Then running ld to link our first programm
ld -o simple simple.o