edited by
42 views
1 votes
1 votes

An $8085$ executes the following instructions

$\begin{array}{lll}
2710 & \text { LXI} &   \text{H,} & \text{30A0H } \\
2713 & \text { DAD} & \text{H } \\
2714 & \text { PCHL }
\end{array}$

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

Which of the following statements is correct

  1. $\begin{array}{} \mathrm{PC}=2715 \mathrm{H} \\ \mathrm{HL}=30 \mathrm{A0H} \end{array}$
  2. $ \begin{array}{} \mathrm{PC}=30 \mathrm{A} 0 \mathrm{H} \\ \mathrm{HL}=2715 \mathrm{H} \end{array}$
  3. $ \begin{array}{} \mathrm{PC}=6140 \mathrm{H} \\ \mathrm{HL}=6140 \mathrm{H} \end{array}$
  4. $ \begin{array}{} \mathrm{PC}=6140 \mathrm{H} \\ \mathrm{HL}=2715 \mathrm{H} \end{array}$
edited by

Please log in or register to answer this question.