; ml /c demo32.asm
; link demo32.obj /subsystem:console /defaultlib:kernel32.lib /defaultlib:user32.lib /entry:main /out:demo32_masm.exe

.386
.model flat

extern _MessageBoxA@16:near
extern _ExitProcess@4:near

.data
msg_title db "Demo!", 0
msg_content db "Hello World!", 0

.code
main proc
        push    0
        push	0
        push	offset msg_title
        push	offset msg_content 
        push	0
        call    _MessageBoxA@16
        push	0
        call    _ExitProcess@4
main endp
end

