Microprocessor 8085 program TO ADD TWO 2-DIGIT BCD DATA

TO ADD TWO 2-DIGIT BCD DATA

LDA 000
MOV B,A
LDA 001
MIV C,00
ADD D
DAA
JNC LAB1
INR C

[LAB1] STA 002 MOV A,C STA 003 HLT

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