Addition of Two 8 bit numbers in 8085
AIM
To add two 8 bit numbers using 8085 microprocessor
PROGRAM
MV1 C,00
LDA 4200
MOV B,A
LDA 4201
ADD B
JNC LABEL1
INRC
LABEL1:STA 4202
MOV A,C
STA 4203
HLT
SAMPLE OUTPUT
|
ADDRESS |
DATA |
INPUT/OUTPUT |
|
4200 |
15 |
Input |
|
4201 |
27 |
Input |
|
4202 |
3C |
Output(sum) |
|
4203 |
00 |
Output(carry) |
RESULT
A program to add two 8 bit numbers for 8085 microprocessor was prepared and output obtained.
You may also like:
Custom Search

hi
And it also helps these young people understand some of the ways they might improve their community. ,
Who is conducting the investigation? ,