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, 35H
MOV B, A
STC
CMC
RAR
XRA B
- A$00H$
- B$35H$
- C$EFH$
- D$2FH$Correct answer
Answer
(D) $2FH$
Approach
Trace the 8085 program instruction by instruction, tracking the accumulator and carry flag, then perform the final XOR.
Reviewed by UGC IQ Editorial Team.