[求助] DOS调用
data segment
path db 64 db (0)
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov dl,0
mov si,offset path
mov ah,47h
int 21h
mov cx,64
mov si,0
next:mov dl,path[si]
mov ah,2
int 21h
inc si
loop next
mov ah,4ch
int 21h
code ends
end start
这道程序的要求是:查询系统的当前目录并显示.
但它老提示第二行有错,请各位大侠指点下