START:
mov si,offset DATA1
mov di,offset DATA2
mov bx,offset ANS
mov al,[si]
add al,[di]
mov [bx],al
mov al,[si+1]
adc al,[di+1]
mov [bx+1],al
mov al,[si+2]
adc al,[di+2]
mov [bx+2],al
mov al,[si+3]
adc al,[di+3]
mov [bx+3],al
mov ax,4c00h
int 21h
DATA1 dd 0EFFFFFFFh
DATA2 dd 1
ANS dd ?
|