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 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
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.