in Digital Circuits recategorized by
59 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} $
in Digital Circuits recategorized by
15.8k points
59 views

Please log in or register to answer this question.

Welcome to GO Electronics, where you can ask questions and receive answers from other members of the community.