Skip to content

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

  1. A
    $00H$
  2. B
    $35H$
  3. C
    $EFH$
  4. 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.