Exam Questions Papers - Engineering

Q1:

For the 8085 assembly language program given below, the content of the accumulator after the execution of the program is

A 00H

B 45H

C 67H

D E7H

ANS:C - 67H

A → 0100 0101 B → 0100 0101 Carry flag → 0 RAR will A → 0010 0010 XRA B 0110 0111 67.