怎样编写一个如下要求的exe文件
发布网友
发布时间:2022-05-02 23:23
我来回答
共1个回答
热心网友
时间:2022-06-28 07:25
.386
.model flat,stdcall
option casemap:none
Include \masm32\include\windows.inc
Include \masm32\include\User32.inc
IncludeLib \masm32\lib\User32.lib
.data
szText db "是否打开目标文件?",0
szTitle db "打开目标文件",0
.code
start:
invoke MessageBox , NULL , ADDR szText , ADDR szTitle , MB_YESNO or MB_ICONQUESTION
ret
end start