1
GATE ECE 2006
MCQ (Single Correct Answer)
+2
-0.6
Following is the segment of a 8085 assembly Language program:
LXI SP, EFFF H
CALL 3000 H
3000H: LXI H, 3CF4H
PUSH PSW
SPHL
POP PSW
RET

On completion of RET execution, the contents of SP is

A
3CF0H
B
3CF8H
C
EFFDH
D
EFFFH
2
GATE ECE 2005
MCQ (Single Correct Answer)
+2
-0.6

Consider an 8085 microprocessor system


The following program starts at locaton 0100H.
LXI SP, 00FF
LXI H, 0107
MVI A, 20H
SUB M

The contents of accumulator wnen the program counter reaches 0109H is

A
20H
B
02H
C
00H
D
FFH.
3
GATE ECE 2005
MCQ (Single Correct Answer)
+2
-0.6

Consider an 8085 microprocessor system


If in addition following code exists from 0109H onwards ORI 40H, ADD M What will be the result in the accumulator after the last instruction is executed
A
40H
B
20H
C
60H
D
42H
4
GATE ECE 2004
MCQ (Single Correct Answer)
+2
-0.6
Consider the sequence of 8085 instructions given below.
LXI H, 9258
MOV A, M
CMA
MOV M, A
Which one of the following is performed by this sequence?
A
contents of location 9258 are moved to the accumulator.
B
contents of location 9258 are compared with the contents of the accumulator.
C
contents of location 9258 are complemented and stored in location 9258.
D
contents of location 5892 are complemented and stored in location 5892.
GATE ECE Subjects
EXAM MAP