21,500
社区成员
发帖
与我相关
我的任务
分享.386
.model flat,stdcall
include windows.inc
include user32.inc
includelib user32.lib
option casemap:none
.data
szCaption db "Message",0
szText db "Hello .....",0
.code
Start:
invoke MessageBox,NULL,offset szCaption,offset szText,MB_OK
ret
end Start00401000 >/$ 6A 00 PUSH 0 ; /Style = MB_OK|MB_APPLMODAL
00401002 |. 68 08304000 PUSH MessageB.00403008 ; |Title = "Hello ....."
00401007 |. 68 00304000 PUSH MessageB.00403000 ; |Text = "Message"
0040100C |. 6A 00 PUSH 0 ; |hOwner = NULL
0040100E |. E8 01000000 CALL <JMP.&user32.MessageBoxA> ; \MessageBoxA
00401013 \. C3 RETN