1
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
2
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)
3
GATE ECE 2003
MCQ (Single Correct Answer)
+2
-0.6
In an 8085 microprocessor, the instruction CMP B has been executed while the content of the accumulator is less than that of register B. As a result
A
Carry flag will be set but Zero flag will be reset
B
Carry flag will be reset but Zero flag will be set
C
Both Carry flag and Zero flag will be reset
D
Both Carry flag and Zero flag will be set
4
GATE ECE 2002
MCQ (Single Correct Answer)
+2
-0.6
Consider the following assembly language program. GATE ECE 2002 Microprocessors - Instruction Set and Programming with 8085 Question 18 English The execution of the above program in an 8085 microprocessor will result in
A
an output of 87H at port 1
B
an output of 87H at port 2
C
infinite looping of the program execution with accumulator data remaining at 00H.
D
infinite looping of the program execution with accumulator data alternating between 00H and 87H
GATE ECE Subjects
EXAM MAP