×

Embedded Systems Tutorial

AVR Microcontroller

8051 Microcontroller

8085 Microprocessor

8086 Microprocessor

8255 Microprocessor

Embedded Systems Practice

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

  1. Load the first data into register AX from memory.
  2. Load the second data into register BX from memory.
  3. Multiply content of register BX with the content of register AX.
  4. Now load the result value from AX to memory.
  5. Move data from DX to AX.
  6. 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.




Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.