李君竟 发表于 2012-8-5 21:32:27

汇编10.5这道题怎么做啊?

assume cs:code
stack segment
        dw 8 dup(0)
stack ends
code segment
        start:mov ax,stack
              mov ss,ax
              mov sp,16
            mov ds,ax
              mov ax,0
              call word ptr ds:
              inc ax
              inc ax
              inc ax
              mov ax,4c00h
              int 21h
code ends
end start
程序执行后 AX的值为多少? 为什么我DEBUG到call word ptr ds:
就跳到别的地方 不跳到inc ax
这一句啊?我想知道原因
页: [1]
查看完整版本: 汇编10.5这道题怎么做啊?