8086 program to multiply two 8-bit numbers


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

Problem Statement

Write 8086 Assembly language program to multiply two 8-bit numbers stored in memory address offset 500 and 501.

Discussiont

In 8086 there is MUL instruction. So the task is too simple. Here we are taking the numbers from memory and after that performing the multiplication operation. As 8-bit numbers are taken, after multiplication AX (16-bit) will store the result.

Input

Address
Data


500
99
501
25


 

Flow Diagram

 

Program

 

Output

Address
Data


600
1D
601
16


Updated on: 30-Jul-2019

9K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements