assume cs:code
a segment
db 1,2,3,4,5,6,7,8
a endsb segment
db 1,2,3,4,5,6,7,8
b endsc segment
db 0,0,0,0,0,0,0,0
c endscode segment
start:mov ax,a
mov es,ax
mov ax,c
mov ds,ax
mov bx,0mov cx,8
s:mov ax,es:[bx]
mov [bx],ax
add bx,2
loop s
mov ax,b
mov es,ax
mov ax,c
mov ds,ax
mov bx,0
mov cx,8
s1:mov ax,es:[bx]
add [bx],ax
add bx,2
loop s1
mov ax,4c00h
int 21h
code ends
end start