1恢氯、安裝masm32,radasm,配置radasm庫路徑以及工程路徑北苟。
2以躯、新建工程
.386
.model flat,stdcall
option casemap:none
include windows.inc
include user32.inc
include kernel32.inc
includelib user32.lib
includelib kernel32.lib
.data
szTxt db 'hello world',0
szCap db 'hi',0
.code
start:
invoke MessageBox,NULL,addr szTxt,addr szCap,MB_OK
invoke ExitProcess,0
end start
運(yùn)行成功