Saturday, 12 December 2015

Multiplication of two integer numbers

Write an assembly Language Programming for multiplication of two integer numbers.

data segment
ends
stack segment
    dw   128  dup(0)
ends
code segment
start:
mov al,24
mov bl,20
imul bl    ;multiplication store al,bl to ax
mov dx,ax ;we can see multiplication from dx 
mov ax, 4c00h
int 21h 
ends
end start



No comments:

Post a Comment