edited by
98 views
0 votes
0 votes

For $8085$ microprocessor, the following program is executed.

$\begin{array}{ll}  & MVI\: A, 05H; \\ & MVI\: B, 05H; \\ PTR: & ADD \:B; \\ & DCR \:B; \\ & JNZ\: PTR; \\ &  ADI\: 03H; \\ & HLT; \end{array}$

At the end of program, accumulator contains

  1. $17H$
  2. $20H $
  3. $23H$
  4. $ 05H$
edited by

Please log in or register to answer this question.

Answer: