edited by
45 views
0 votes
0 votes

The following sequence of instructions are executed by an $8085$ microprocessor:
$\begin{matrix}
1000 &LXI  & SP &27 \; FF \\ 
1000 &CALL  &  & 1006\\ 
1006 &POP \; H  &  & 
\end{matrix}$
The contents of the stack pointer $\text{(SP)}$ and the $\text{HL,}$ register pair on completion of execution of these instructions are

  1. $\mathrm{SP}=27 \; \mathrm{FF}, \mathrm{HL}=1003$
  2. $\mathrm{SP}=27 \; \mathrm{FD}, \mathrm{HL}=1003$
  3. $\mathrm{SP}=27 \; \mathrm{FF}, \mathrm{HL}=1006$
  4. $\mathrm{SP}=27 \; \mathrm{FD}, \mathrm{HL}=1006$
edited by

Please log in or register to answer this question.

Answer: