recategorized by
106 views
0 votes
0 votes

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

  1. $\begin{array}{ll} {} & \text{MVI A, 00 H} \\ {} & \text{JNZ LOOP} \\ {} & \text{CMP C} \\ \text{LOOP} & \text{DCR B} \\ & \text{HLT} \end{array} \\$
  2. $\begin{array}{ll} {} & \text{MVI A, 00 H} \\ {} & \text{CMP C} \\ {} \text{LOOP} & \text{DCR B} \\ & \text{JNZ LOOP} \\ & \text{HLT} \end{array} \\$
  3. $\begin{array}{ll} {} & \text{MVI A, 00 H} \\  \text{LOOP} & \text{ADD C} \\ {} & \text{DCR B} \\ & \text{JNZ LOOP} \\ & \text{HLT}  \end{array} \\$
  4. $\begin{array}{ll} {} & \text{MVI A, 00 H} \\   & \text{ADD C} \\ & \text{JNZ LOOP} \\ \text{LOOP} & \text{INR B} \\ & \text{HLT} \end{array} $
recategorized by

Please log in or register to answer this question.

Answer: