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
- $17H$
- $20H $
- $23H$
- $ 05H$