Depends what you want to use it for, I suppose. Maybe like this?
Best,
Frank
; nasm -f elf hwc.asm
; gcc hwc.o -o hwc
; ./hwc
global main
extern printf
section .data
fmtstr db 'Hello, World!',10,0
section .text
main:
pushad
push dword fmtstr
call printf
add esp,4
popad
ret