Home »
Embedded Systems
Addition of two 16 bits numbers without carry using 8086 Microprocessor
Here, we are going to learn how to find Addition of two 16 bits numbers without carry using 8086 Microprocessor?
Submitted by Akash Kumar, on October 21, 2018
Problem statement:
To perform addition operation between two 16 bits numbers without carry using 8086 Microprocessor.
Algorithm:
- Load the first data into register AX from memory.
- Load the second data into register BX from memory.
- ADD content of register BX with the content of register AX.
- Now load the result value from AX to memory.
Program:
MOV AX, 2050
MOV BX, 2052
ADD AX, BX
MOV 2054, AX
HLT
Observation:
INPUT:
2050:02
2051:02
2052:02
2053:02
OUTPUT:
2052:04
2053:04
Hence we successfully added two 16 bits numbers without using carry.