当前位置: 代码迷 >> 汇编语言 >> 罗云彬的32位hello world,出有关问题了
  详细解决方案

罗云彬的32位hello world,出有关问题了

热度:9672   发布时间:2013-02-26 00:00:00.0
罗云彬的32位hello world,出问题了
.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,\
  相关解决方案