

MCQOPTIONS
Saved Bookmarks
1. |
Which one of the following 8085 microprocessor programs correctly calculates the product of two 8-bit numbers stored in registers B and C? |
A. | \(\begin{array}{*{20}{c}}{\;MVI\;A,\;00H} \\{JNZ\;LOOP} \\{CMP\;C} \\{LOOP\;:\;DCR\;B} \\{HLT}\end{array}\) |
B. | \(LOOP\;:\begin{array}{*{20}{c}}{MVI\;A,\;00H} \\{CMP\;C} \\{DCR\;B} \\{JNZ\;LOOP} \\{HLT}\end{array}\) |
C. | \(\begin{array}{*{20}{c}}{MVI\;A,\;00H} \\{LOOP\;:\;ADD\;C} \\{DCR\;B} \\{JNZ\;LOOP} \\{HLT}\end{array}\) |
D. | \(\begin{array}{*{20}{c}}{MVI\;A,\;00H} \\{ADD\;C} \\{JNZ\;LOOP} \\{LOOP\;:\;INR\;B} \\{HLT}\end{array}\) |
Answer» D. \(\begin{array}{*{20}{c}}{MVI\;A,\;00H} \\{ADD\;C} \\{JNZ\;LOOP} \\{LOOP\;:\;INR\;B} \\{HLT}\end{array}\) | |