• recategorized by
416 views
0 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} $

Please log in or register to answer this question.

Answer:
Position:
Show:

Related questions

0 0 votes
0 0 answers
583
583 views
Milicevic3306 asked Mar 27, 2018
583 views
In an $8085$ microprocessor, the contents of the accumulator and the carry flag are $A7$ (in hex) and $0$, respectively. If the instruction $RLC$ is executed, then the co...
0 0 votes
0 0 answers
294
294 views
Milicevic3306 asked Mar 27, 2018
294 views
Two sequences $x_{1}[n]$ and $x_{2}[n]$ have the same energy. Suppose $x_{1}[n]=\alpha\: 0.5 ^{n}\:u[n],$ where $\alpha$ is a positive real number and $u[n]$is the unit s...
0 0 votes
0 0 answers
704
704 views
admin asked Nov 17, 2017
704 views
The clock frequency of an $8085$ microprocessor is $5$ MHz . If the time required to execute an instruction is $1.4 \: \mu s$, then the number of T-states needed for exec...
0 0 votes
0 0 answers
539
539 views
Milicevic3306 asked Mar 27, 2018
539 views
In an $8085$ microprocessor, which one of the following instructions changes the content of the accumulator?MOV B, MPCHLRNZSBI BEH

Add Synced Question

×