Electronis Discussion
0 votes
23 views

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 by (15.8k points)
recategorized by | 23 views

Please log in or register to answer this question.

Answer:
Welcome to GO Electronics, where you can ask questions and receive answers from other members of the community.
1,174 questions
78 answers
11 comments
43,907 users