;PROGRAM TO MULTIPLY TWO NUMBERS USING NEAR PROCEDURE
data segment
opr1 db 12h
opr2 db 48h
res dw 1 dup(0)
data ends
code segment
assume cs:code, ds:data
start:
mov ax,data
mov ds,ax
mov al,opr1
mov bl,opr2
call multiply
mov res,ax
int 3
multiply proc near
mul bl
ret
multiply endp
code ends
end start
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment