This sample program for 32bit Linux writes "Hello, world!" and terminates.
EUROASM lin32hw PROGRAM Format=ELFX, Width=32, Entry=Main: Main: PROC MOV EAX,4 ; Kernel function sys_write. MOV EBX,1 ; STDOUT_FILENO. MOV ECX,Msg ; Address of the message. MOV EDX,MsgSize ; Message size. INT 0x80 ; Invoke kernel. MOV EAX,1 ; Kernel function sys_exit. XOR EBX,EBX ; Errorlevel 0. INT 0x80 ; Invoke kernel. ENDPROC Main: Msg DB "Hello, world!",10 MsgSize EQU $ - Msg ENDPROGRAM lin32hw