.model small
.stack 256
.data
a db 15
b db 70
c db 25
d db 35
f dw 0
.code
main:
xor ax, ax
mov al, 15
mov bl, b
cbw
movsx ax, bx
sub ax, bx
imul c
mov dl, d
cbw
movsx ax, dx
add dx, 2
idiv dx
exit:
mov ax, 4c00h
int 21h
end main