其实是啥都没有做的一个mov汇编测试,结果就报毒。像什么push eax pop ebx 之类的都报毒,用RadASM编写就完全没事,这是什么情况,有达人知道吗,感谢
但是正儿八经的的一个messagebox是不会报毒的
.386
.model flat, stdcall
option casemap:none
include g:\masm32\include\windows.inc
;Kernel32.dll contains API functions that deal with memory and process management, ExitProcess need it
include g:\masm32\include\kernel32.inc
;User32.dll controls the user interface aspects of your program, MessageBox need it
include g:\masm32\include\user32.inc
include g:\masm32\m32lib\masm32.inc
includelib g:\masm32\lib\kernel32.lib
includelib g:\masm32\lib\user32.lib
includelib g:\masm32\m32lib\masm32.lib
;================== data =====================
.data
text db "Win32 Assembly is cool !", 0
caption db "Compile by WinAsm", 0
.data?
;================== code =====================
.code
start:
invoke GetModuleHandle,0
invoke MessageBox, NULL, addr text, addr caption, MB_OK
invoke ExitProcess, 0
end start