Witam,
.MODEL SMALL
ASSUME CS:Kod, DS:dane, SS:Stosik
Dane SEGMENT
a DW 2
b DW 7
c DW 5
d DW 3
Dane ENDS
Kod SEGMENT
Start:
mov ax, SEG DANE
mov ds,ax
mov bx, 0
mov ax, d
mov bx,b
sub bx,c
div BYTE PTR bx
mov bl, byte PTR a
add bl, byte PTR b ;BL= a+b
mul bl ;AX=BL*AL
mov dx,ax ;mov bl do dl)
mov ax, 4Ch
int 21h
Kod ENDS
Stosik SEGMENT
Stosik ENDS
END Start