386 model flat stdcall includelib kernel32 lib includelib user32 lib E

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.386
.model flat, stdcall
includelib kernel32.lib
includelib user32.lib
ExitProcess PROTO ,:DWORD
MessageBoxA PROTO ,:DWORD ,:DWORD ,:DWORD ,:DWORD
.code
Winmain PROC
call next
next:
pop eax
add eax, MsText - next
push 0
push eax
push eax
push 0
call MessageBoxA
push 0
call ExitProcess
MsText db "Text", 0
Winmain endp
END Winmain