马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
代码如下:
assume cs:code
a segment
db 1,2,3,4,5,6,7,8
a ends
b segment
db 1,2,3,4,5,6,7,8
b ends
c segment
db 0,0,0,0,0,0,0,0
c ends
code segment
start: mov ax, a
mov ds, ax
mov ax, c
mov es, ax
mov bx, 0
mov cx, 8
l1: mov al, [bx]
mov ah, 0
mov es:[bx], al
add bx, 1
loop l1
mov ax, b
mov ds, ax
mov cx, 8
mov bx, 0
l2: mov al, [bx]
mov ah, 0
mov dl, es:[bx]
add al, dl
mov es:[bx], al
loop l2
mov ax, 4c00h
int 21h
code ends
end start
编译环境:win8.1 x86_64
报错如下!
|