1
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.
2
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
3
GATE ECE 2004
MCQ (Single Correct Answer)
+2
-0.6
The number of memory cycles required to execute the following 8085 instructions
(I.) LDA 3000H
(II.) LXI D, FOF 1H
Would be
A
2 for (I) and 2 for (II )
B
4 for (I)and 3 for (II)
C
3 for ( I )and 3 for (II)
D
3 for (I) and 4 for (II)
4
GATE ECE 2004
MCQ (Single Correct Answer)
+2
-0.6
It is desired to multiply the numbers 0AH by 0BH and store the result in the accumulator. The numbers are available in registers B and C respectively. A part of the 8085 program for this purpose is given below:
MVI A, 00H
LOOP:.........
...............
HLT END

The sequence of instruction to be complete the program would be

A
JNZ LOOP, ADD B, DCR C
B
ADD B, JNZ LOOP, DCR C
C
DCR C, JNZ LOOP, ADD B
D
ADD B, DCR C, JNZ LOOP
GATE ECE Subjects
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
CBSE
Class 12