Liet_Torve 发表于 2013-8-24 16:02:21

鱼油求助!!

   .386
                        .model flat,stdcall
                        option        casemap:none
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
include        windows.inc
include kernel32.inc
include        user32.inc
includelib kernel32.lib
includelib user32.lib
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                .data
lpszText       db       '地址为%s',0
lpszCaption       db        'test',0
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                .code
        start:        pushad
                        call        @f
        @@:               
                        pop ebx
                        sub ebx,offset        @b
                        invoke        MessageBox 0,ebx ,lpszCaption,MB_OK

        end start      

Liet_Torve 发表于 2013-8-24 16:02:52

为什么编译不过?求助!!!!!

小名明SIU 发表于 2013-8-24 17:02:17

以后至少要贴个错误信息吧,invoke      MessageBox 0,ebx ,lpszCaption,MB_OK
少了一个逗号   MessageBox,(就是这个逗号) 0,ebx ,lpszCaption,MB_OK

Liet_Torve 发表于 2013-8-24 17:49:57

多谢。。。

欠你的幸福 发表于 2013-8-24 17:52:09

这样的呀—— 我看无解。
   {:7_175:}

绝世公子 发表于 2013-8-24 18:17:06

只为升级,,不用理我:loveliness::loveliness::loveliness:
页: [1]
查看完整版本: 鱼油求助!!