Home » Embedded Systems

Multiplication of two 16 bits numbers without carry using 8086 Microprocessor

Here, we are going to learn how to find Multiplication of two 16 bits numbers without carry using 8086 Microprocessor?
Submitted by Akash Kumar, on October 24, 2018

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.

Program:

	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 bits numbers using carry.






Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.
Learn PCB Designing: PCB DESIGNING TUTORIAL







Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.