8086 program to multiply two 8-bit numbers

MicroprocessorMicrocontroller8086

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


raja
Published on 12-Mar-2019 10:14:37
Advertisements