Gate EC-2015 – 3 Question Paper With Solutions

Q. 11 Which one of the following 8085 microprocessor programs correctly calculates the product of two 8-bit numbers stored in registers B and C?

(A) MVI A, 00H
JNZ LOOP
CMP C
LOOP DCR B
HLT

(B) MVI A, 00H
CMP C
LOOP DCR B
JNZ LOOP
HLT

(C) MVI A, 00H
LOOP ADD C
DCR B
JNZ LOOP
HLT

(D) MVI A, 00H
ADD C
JNZ LOOP
LOOP INR B
HLT

Answer: (C)

Explanation:

Gate EC-2015 - 3 Question Paper With Solutions

Learn More:   Gate ME-2005 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here