- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 |
… | … |
- Related Articles
- 8086 program to multiply two 8-bit numbers
- 8086 program to subtract two 16 bit BCD numbers
- 8085 Program to multiply two 16-bit binary numbers
- 8086 program to add two 16 bit BCD numbers with carry
- 8086 program to add two 16-bit numbers with or without carry
- 8086 program to subtract two 16-bit numbers with or without borrow
- Program to multiply two 16-bit binary numbers in 8085 Microprocessor
- 8086 program to add two 8 bit BCD numbers
- 8086 program to subtract two 8 bit BCD numbers
- 8051 Program to Multiply two 8 Bit numbers
- 8085 program to multiply two 8 bit numbers
- 8086 program to reverse 16 bit number using 8 bit operation
- 8085 program to add two 16 bit numbers
- 8085 program to divide two 16 bit numbers
- Program to Multiply two 8 Bit numbers in 8051 Microprocessor

Advertisements