Microprocessor 8085 program TO ADD TWO 16-BIT DATA

TO ADD TWO 16-BIT DATA

LHLD 000
XCHG
LHLD 002
XRA A
DAD D
JNC LAB1
INR A

[LAB1] SHLD 004 STA 006 HLT

Here, 000 & 001 -> 1st Operand 002 & 003 -> 2nd Operand 004 & 005 -> Sum 006 -> Carry