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 2006 MCQ +2 marks -0.66 marks

A software delay subroutine is written as given below:        

How many times DCR L instruction will be executed?

255

510

65025

65279

Explanation:

In the first iteration, the value of register L is decremented from 25510 to 010. So, DCR L is executed 255 times.

In rest of 254 iterations the value of register L is decremented from 00H to 00H i.e. the value is decremented 256 times.

Hence, DCR L instruction is executed = 255 + 254 x 256 = 65,279 times

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