Microprocessor 8085 program to add two 8-bit data?

LDA 000 MOV B,A LDA 001 MVI C,00 ADD B JNC AHEAD INR C [lab1] STA 002 MOV A,C STA 003 HLT

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