|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 两个人 于 2013-10-20 10:52 编辑
.386
.model flat,stdcall
option casemap:none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
.data
qqqq db '丫的滚蛋!!!',0
aaaa db '首都机场爆炸案',0
zzzz db '您点下了否!!',0
xxxx db '121212',0
ssss db '你认识我吗?',0
hhhh db '您点下了一分支的否!!',0
pppp db '您按下了取消!',0
dddd db '您按下了第二真的取消!',0
.code
start:
invoke MessageBox,NULL,offset ssss,offset xxxx,MB_YESNOCANCEL
mov ebx,eax
.if ebx == IDYES
invoke MessageBox,NULL,offset aaaa,offset xxxx,MB_YESNOCANCEL
.if eax == IDNO
invoke MessageBox,NULL,offset qqqq,offset xxxx,MB_OK or MB_ICONQUESTION
.if eax == IDCANCEL
invoke MessageBox,NULL,offset pppp,offset xxxx,MB_OK
.else
invoke MessageBox,NULL,offset hhhh,offset xxxx,MB_OK or MB_ICONSTOP
.endif
.elseif eax == IDCANCEL
invoke MessageBox,NULL,offset pppp,offset xxxx,MB_OK
.else
invoke MessageBox,NULL,offset zzzz,offset xxxx,MB_OK
.endif
end start <<---显示这里错误!!!!!
C:\RadASM\Masm32\Bin\ML.EXE /c /coff /Cp /nologo /I"C:\RadASM\Masm32\Include" "C:\nihao.asm"
Assembling: C:\nihao.asm
C:\nihao.asm(42) : fatal error A1010: unmatched block nesting : .if-.repeat-.while
构建时发生错误.
总共编译时间 328 毫秒
|
|