8086 program to multiply two 16-bit numbers


In this program we will see how to multiply two 16-bit numbers.

Problem Statement

Write 8086 Assembly language program to multiply two 16-bit number stored in memory location 3000H – 3001H and 3002H – 3003H.

Discussion

We can do multiplication in 8086 with MUL instruction. For 16-bit data the result may exceed the range, the higher order 16-bit values are stored at DX register.

We are taking two numbers BCAD * FE2D = 1BADA

Input

Address
Data


3000
AD
3001
BC
3002
2D
3003
FE


 

Flow Diagram

 

Program

 

Output

Address
Data


3004
69
3005
D0
3006
54
3007
BB


Updated on: 30-Jul-2019

8K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements