Login to track your progress, bookmark questions, and view history.
Practice over 1000+ GATE-level questions from this topic!
Designed to match the latest GATE pattern with topic-wise precision, difficulty tagging, and detailed solutions.
Q#1
Microprocessor
GATE EE 2004
MCQ
+2 marks
-0.66 marks
If the following program is executed in a microprocessor, the number of instruction cycles it will take from START TO HALT is
START MVI A, 14 H : Move 14 H to register A
SHIFT RLC : Rotate left without carry
JNZ SHIFT : Jump on non-zero to
SHIFT
HALT
4
8
13
16
Explanation:
Both MVI and RLC instruction do not affect the zero flag so it will remain as it is. Hence, we can safely assume that all instructions will be executed once.
Since, there are a total of 4 instruction so it requires 4 instruction cycles to operate.
Login to keep track of your progress with the tool with daily goals, questions preparation and more.
Browse Practice Questions by Chapters / Topics in Browse Practice Questions by Chapters / Topics in GATE Electrical Engineering
Total Questions
Attempted
% Attempted
Correct
% Correct
Login to keep track of your progress with the tool with daily goals, questions preparation and more.
Login to track your progress, bookmark questions, and view history.