王爽 实验5.1 为什么我指定start、分段都无效
代码:assume cs:code,ds:data,ss:stack
data segment
dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987h
data ends
stack segment
dw 0,0,0,0,0,0,0,0
stack ends
code segment
start: mov ax,stack
mov ss,ax
mov sp,16
mov ax,data
mov ds,ax
push ds:
push ds:
pop ds:
pop ds:
mov ax,4c00h
int 21h
code ends
end start
用debug加载后,怎么cs,ss,ds全部一样不是应该在不同的段里么?
你的文件名不对 t3未找到 oggplay 发表于 2014-2-16 21:26 static/image/common/back.gif
你的文件名不对 t3未找到
的确如此,非常感谢 应该把你的t3编译连接后 使用debug t3.exe
页:
[1]