[BITS 32]
extern printf
import printf msvcrt.dll

global main 

segment .data USE32

message db "hello world",0

segment .bss USE32

segment .code USE32


main:
	push ebp
	mov ebp,esp
	push dword message
	call [printf]
	add esp,4
	xor eax,eax
	leave
	ret
