最后一行,哪里错了
.data?szBuffer1 db 4096 dup (?)
szBuffer2 db 4096 dup (?)
szOutput db 8192 dup (?)
stStartUp STARTUPINFO <>
stProcInfo PROCESS_INFORMATION <>
.const
szCaption db 'cmd param',0
szFormat1 db 'exe file name',0dh,0ah,'%s',0dh,0ah,0ah
db 'param sum',0dh,0ah,0
szFormat2 db 'param',0dh,0ah,0
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; ´úÂë¶Î
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.code
include _Cmdline.asm
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
start:
invoke GetStartupInfo,addr stStartUp
invoke GetModuleFileName,NULL,offset szBuffer1,sizeof szBuffer1
invoke _argc
mov ebx,eax
invoke wsprintf,addr szOutput,addr szFormat1,addr szBuffer1,eax
xor esi,esi
.while esi < ebx
invoke _argv,esi,addr szBuffer2,sizeof szBuffer2
invoke wsprintf,addr szBuffer1,addr szFormat2,esi,addr szBuffer2
invoke lstrcat,addr szOutput,addr szBuffer1
inc esi
.endw
invoke MessageBox,NULL,addr szOutput,addr szCaption,MB_OK
;
invoke CreateProcess,addr szOutput,NULL,NULL,NULL,NULL,\
NORMAL_PRIORITY_CLASS or CREATE_SUSPENDED,NULL,NULL,\
offset stStartUp,offset stProcInfo