in CO and Architecture retagged by
2,976 views
1 vote
1 vote

Which of the  following in 8085 microprocessor  performs HL=HL+DE ?

  1. DAD D
  2. DAD H
  3. DAD  B
  4. DAD SP
in CO and Architecture retagged by
3.0k views

2 Answers

1 vote
1 vote

Answer: (A)

Explanation: DAD will perform Double addition (16 bit) between HL pair and any other pair of register. Among HL, BC, DE and SP; B, H and D register will be used first.
So, DAD H will do HL = HL + HL;
DAD B will do HL = HL + BC;
DAD D will do HL = HL + DE;
SP is stack pointer and it is not a pair register, DAD SP will do HL = HL + SP;
So, option (A) is correct.

Answer:

Related questions