>>42
nasm用でよかったら

[extern MessageBoxA]

[section .text]
[bits 32]
..start:
push byte 0
push byte 0
push dword msg
push byte 0
call MessageBoxA
ret

msg: db 'Hello world',10,0