Microprocessor 8085 program TO ADD TWO 8-BIT DATA PRESENT IN THE MEMORY

TO ADD TWO 8-BIT DATA PRESENT IN THE MEMORY

LXI H,000
MVI C,OO
MOV A,M
INX H
ADD M
JNC LAB1
INR C

[LAB1] INX H MOV M,A INX H MOV M,C HLT

Here, 000 → 1st Operand 001 → 2nd Operand 003 → Sum 004 → Carry