• recategorized by
330 views
1 1 vote

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}$

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
0 0 answers
380
380 views
admin asked Oct 17, 2022
380 views
Statement for Linked Answer Questions $81 a$ and $81 b$:Consider an $8085$ microprocessor systemIf in addition following code exists from $019 \mathrm{H}$ onwards,$\text{...
0 0 votes
0 0 answers
424
424 views
admin asked Oct 2, 2022
424 views
In an $8085 \; \mu \; \mathrm{P}$ system, the $\text{RST}$ instruction will cause an interruptonly if an interrupt service routine is not being executedonly if a bit in t...
0 0 votes
0 0 answers
394
394 views
admin asked Oct 2, 2022
394 views
The following insturctions have been executed by an $8085 \; \mu \mathrm{P}$$\begin{array}{cl}\text { ADDRESS (HEX) } & \text { INSTRUCTION } \\ 6010 & \text { LXI H, 8A ...
0 0 votes
0 0 answers
289
289 views
admin asked Oct 2, 2022
289 views
While moving data between registers of the $8085$ and the stack(1) a $\text{PUSH}$ instructionPre increments the stack pointer(2) a $\text{POP}$ instructionPost increment...

Add Synced Question

×