Home »
Embedded Systems
Addition of Two 16-bit Numbers without Carry | 8086
In this tutorial, we will learn how to add two 16-bit numbers without carry in 8086 Microprocessor?
By Akash Kumar Last updated : May 22, 2023
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.
8086 program to add two 16-bit numbers with or without carry
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-bit numbers without using carry.