UGC-NET | UGC NET CS 2016 Aug – III | Question 4
Which of the following in 8085 microprocessor performs HL = HL + HL?
(A) DAD D
(B) DAD H
(C) DAD B
(D) DAD SP
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 (B) is correct.