Addition of two 8 bit numbers without carry in 8085
Answers
Answered by
4
Addition of two 8 bits numbers in 8085 Microprocessor
Here, we are going to learn how to find the addition of two 8 bits number without carry using 8085 microprocessor?
Problem statement:
To perform addition of two 8 bits numbers without carries using 8085 microprocessor.
Algorithm:
Load the accumulator with the first data.
Move data of accumulator to register B.
Load the second data into the accumulator.
Add the content of register B with the content of accumulator.
Now load the result value in a memory location.
Program:
LDA 2050
MOV B,A
LDA 2051
ADD B
STA 2052
Observation:
INPUT:
2050:04
2051:02
OUTPUT:
2052:06
Hence we successfully added two 8 bits numbers.
Here, we are going to learn how to find the addition of two 8 bits number without carry using 8085 microprocessor?
Problem statement:
To perform addition of two 8 bits numbers without carries using 8085 microprocessor.
Algorithm:
Load the accumulator with the first data.
Move data of accumulator to register B.
Load the second data into the accumulator.
Add the content of register B with the content of accumulator.
Now load the result value in a memory location.
Program:
LDA 2050
MOV B,A
LDA 2051
ADD B
STA 2052
Observation:
INPUT:
2050:04
2051:02
OUTPUT:
2052:06
Hence we successfully added two 8 bits numbers.
Similar questions
English,
6 months ago
Hindi,
6 months ago
Social Sciences,
6 months ago
Physics,
1 year ago
Math,
1 year ago