UGC NET CS 2016Computer System Architecture › Programming the Basic ComputerVerified
UGC NET CS 2016 PYQ: The content of the accumulator after the execution of the following 8085 assembly language program, is: MVI…
The content of the accumulator after the execution of the following 8085 assembly language program, is:
| MVI A, 42H | |
| MVI B, 05h | |
| UGC: | ADD B |
| DCR B | |
| JNZ UGC | |
| ADI 25H | |
| HLT |
- A82 H
- B78 H
- C76 HCorrect answer
- D47 H
Answer
(C) 76 H
Approach
Trace the 8085 loop accumulating B into A, then add the immediate.
Reviewed by UGC IQ Editorial Team.