|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
assume cs:code,ds:data,ss:stack,es:table
data segment
db '1975','1976','1977'
dd 16,22,382
dw 3,7,9
data ends
table segment
db 21 dup ('???? ???? ?? ??')
table ends
stack segment
dw 0,0,0,0,0,0,0,0
stack ends
code segment
start: mov ax,data
mov ds,ax
mov ax,code
mov cs,ax
mov ax,stack
mov ss,ax
mov sp,3
mov ax,table
mov es,ax
mov si,0
mov di,0
mov cx,3
s1: mov bx,0
push cx
s0: mov cx,4
mov ax,ds:[bx+si]
mov es:[bx+di],ax
inc bx
loop s0
add si,4
add di,16
pop cx
loop s1
mov ax,4c00H
int 21H
code ends
end start
DEBUG后单步执行到 MOV SS,AX就出错了是什么原因啊 |
|