2 views

0 votes

An $8085$ executes the following instructions

$\begin{array}{lll}

2710 & \text { LXI H,} & \text{30A0H } \\

2713 & \text { DAD} & \text{H } \\

2714 & \text { PCHL }

\end{array}$

All addresses and constants are in Hex. Let PC be the contents of the program counter and HL be the contents of the HL register pair just after executing PCHL.

Which of the following statements is correct

- $\begin{array}{} \mathrm{PC}=2715 \mathrm{H} \\ \mathrm{HL}=30 \mathrm{A0H} \end{array}$
- $ \begin{array}{} \mathrm{PC}=30 \mathrm{A} 0 \mathrm{H} \\ \mathrm{HL}=2715 \mathrm{H} \end{array}$
- $ \begin{array}{} \mathrm{PC}=6140 \mathrm{H} \\ \mathrm{HL}=6140 \mathrm{H} \end{array}$
- $ \begin{array}{} \mathrm{PC}=6140 \mathrm{H} \\ \mathrm{HL}=2715 \mathrm{H} \end{array}$