0% found this document useful (0 votes)
11 views3 pages

MPMC 3 - N036 - Ashish Make

Uploaded by

ahoubaka0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

MPMC 3 - N036 - Ashish Make

Uploaded by

ahoubaka0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MPMC Practical 3

Name: Ashish Make


Roll no: N036
Batch B2
MBA Tech CS
Aim: To write an assembly language program in 8086 to: a) multiply two 8-bit numbers. b)
divide 16-bit number by 8-bit number.
Software used: TASM
Code and Result to multiply two 8-bit numbers
data segment
n1 db 04h
n2 db 02h
ansdb ?
data ends
code segment
start: assume ds:data, cs:code
mov ax,data
mov ds,ax
mov ax,000h
mov bx,00h
mov al,n1
mov bl,n2
mul bl
mov ans,al
mov ax,4c00h
int 21h
code ends
end start
Code and Result to divide 16-bit number by 8-bit number
data segment
n1 dw 24h
n2 db 02h
ansdw ?
data ends
code segment
start: assume ds:data, cs:code
mov ax,data
mov ds,ax
mov ax,0000h
mov bx,0000h
mov ax,n1
mov bl,n2
div bl
mov ans,al mov ax,4c00h int 21h
code ends

Conclusion: Successfully able to execute assembly language programs to multiply two 8 bit
numbers and divide 16-bit number by 8-bit number using TASM Software

You might also like