.386
.model flat,stdcall
opiton casemap:none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
.data
szCaption db 'A messagebox!',0
szText db 'hello,world',0
.code
start:
invoke MessageBox,NULL,offset,szText,\
offset szCaption,MB_OK
invoke ExitProcess,NULL
end start
代码如下
错误呢:
F:\RadASM\Masm32\Bin\ML.EXE /c /coff /Cp /nologo /I"F:\RadASM\Masm32\Include" "i like dnf.asm"
Assembling: i like dnf.asm
i like dnf.asm(1) : error A2088: END directive required at end of file
构建时发生错误.
总共编译时间 47 毫秒
------解决方案--------------------------------------------------------
楼主不细心啊.
opiton casemap:none
invoke MessageBox,NULL,offset,szText,\