主题:DEBUG问题
assume cs:code
code segment
mov ax,0ffffh
mov ds,ax
mov bx,0006h
mov cx,3
sub ah,ah
mov al,[bx]
sub dx,dx
aaa:
add dx,ax
loop aaa
mov ax,4c00h
int 21h
code ends
end
这段代码数据段应该是ffff 怎么DEBUG看DS变成了0ba3了呢
code segment
mov ax,0ffffh
mov ds,ax
mov bx,0006h
mov cx,3
sub ah,ah
mov al,[bx]
sub dx,dx
aaa:
add dx,ax
loop aaa
mov ax,4c00h
int 21h
code ends
end
这段代码数据段应该是ffff 怎么DEBUG看DS变成了0ba3了呢