1
GATE ECE 2011
MCQ (Single Correct Answer)
+2
-0.6
An 8085 assembly language program is given below. Assume that the carry flag is initially unset. The content of the accumulator after the execution of the program is
MVI A,07H
RLC
MOV B,A
RLC
RLC
ADD B
RRC
A
8C H
B
64 H
C
23 H
D
15 H
2
GATE ECE 2010
MCQ (Single Correct Answer)
+2
-0.6
For the 8085 assembly language program given below, the content of the accumulator after the executions of the program is
3000 MVI A, 45H
3002 MOV B, A
3003 STC
3004 CMC
3005 RAR
3006 XRA B
A
OOH
B
45H
C
67H
D
E7H
3
GATE ECE 2008
MCQ (Single Correct Answer)
+2
-0.6
An 8085 executes the following instructions
2710 LXI H, 30A0H
DAD H
PCHL

All addresses and constants are in Hex. Let PC be the contents of the program counter and HL be the contents of the HL register pair just after executing PCHL.

Which of the following statements is correct.
A
PC 2715H HL 30A0H
B
PC 30A0H HL 2715H
C
PC 6140H HL 6140H
D
PC 6140H HL 2715H
4
GATE ECE 2007
MCQ (Single Correct Answer)
+2
-0.6
An 8085 assembly language program is given below.
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT

The contents of the accumulator just after execution of the ADD instruction in line 4 will be

A
C3H
B
EAH
C
DCH
D
69H
GATE ECE Subjects
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
CBSE
Class 12