Home »
Embedded Systems
Multiply Two 16-bit Numbers without Carry | 8086
In this tutorial, we will learn how to multiply two 16-bit numbers without carry in 8086 Microprocessor?
By Akash Kumar Last updated : May 22, 2023
Problem Statement
To perform multiplication operation between 2 16bit numbers with carry using 8086 Microprocessor.
Algorithm
- Load the first data into register AX from memory.
- Load the second data into register BX from memory.
- Multiply content of register BX with the content of register AX.
- Now load the result value from AX to memory.
- Move data from DX to AX.
- Now Load the data from AX to memory.
Multiplication of two 16 bits numbers without carry using 8086 Microprocessor
MOV AX, 2050
MOV BX, 2052
MUL BX
MOV 2054, AX
MOV AX, DX
MOV 2056, AX
HLT
Observation
INPUT:
2050:04
2051:03
2052:07
2053:08
OUTPUT:
2054:00
2055:1C
2056:35
Hence we successfully multiplied two 16-bit numbers using carry.