Loading...

Loading, please wait...

ExamDost Practice Questions

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.

Browse Practice Questions by Chapters / Topics in Browse Practice Questions by Chapters / Topics in GATE Electrical Engineering
Total Questions

Attempted

% Attempted

Correct

% Correct

Topic Questions Attempted Correct
Network Analysis 208 0 0
Signals and Systems 21 0 0
Control Systems 18 0 0
Analog Electronics 10 0 0
Digital Electronics 138 0 0
Electrical Machines 17 0 0
Power Electronics 17 0 0
Power Systems 18 0 0
EMFT EE 8 0 0
Measurement 6 0 0
Engineering Mathematics 27 0 0
General Aptitude 104 0 0