主题:学汇编的一个问题, 有空出来帮帮忙
mov ax, ds:[00h]
mov ax, [00h]
我在masm611编译尝试编译这两条指令。再用debug反汇编后,发现
mov ax, ds:[00h] 被编译成A10000: mov ax, [0000], 不过
mov ax, [00h] 却被编译成B80000: mov ax, 0000
我试了很多次,都是这样。还有
mov ax, offset table 和
mov ax, [offset table]
编译出来的结果居然是一样的。
有没有人知道为什么,还是我看出了?先多谢了。
mov ax, [00h]
我在masm611编译尝试编译这两条指令。再用debug反汇编后,发现
mov ax, ds:[00h] 被编译成A10000: mov ax, [0000], 不过
mov ax, [00h] 却被编译成B80000: mov ax, 0000
我试了很多次,都是这样。还有
mov ax, offset table 和
mov ax, [offset table]
编译出来的结果居然是一样的。
有没有人知道为什么,还是我看出了?先多谢了。