Gate EE-2006 Question Paper With Solutions

Q. 63 A software delay subroutine is written as given below :

DELAY :           MVI         H, 255D
                      MVI L,        255D
LOOP :            DCR              L
                     JNZ                LOOP
                      DCR             H
                        JNZ         LOOP
How many times DCR L instruction will be executed ?
(A) 255
(B) 510
(C) 65025
(D) 65279

 

Answer:(A)

Explanation:Gate EE-2006 Question Paper With Solutions

 

Learn More:   Gate EE-2016-1 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here