edited by
46 views
0 votes
0 votes
(a) The program and machine code for an $8085$ microprocessor are given by

$\begin{array}{lll}3 \mathrm{E} & \text {MVI} & \text {A} \\ \text {C3} & & \\ 00 & \text {NOP} & \\ 80 & \text {ADD} & \text {B} \\ 3 \text{D} & \text {DEC} & \text {A} \\ \text {C} 2 & \text {JNZ} & 800 \text{A} \\ 0 \text {A} & & \\ 80 & & \\ \text {C3} & \text {JMP} & 800 \text{C} \\ 0 \text {C} & & \\ 80 & & \\ \text {D3} & \text {OUT} & 10 \\ 10 & & \\ 76 & \text {HLT} & \end{array}$

The starting address of the above program is $7 \mathrm{F F F \; H}$. What would happen if it is executed from $8000 \; \mathrm{H}$ ?

(b) For the instructions given below, how many memory operations (read/write) are performed during the execution in $\operatorname{an} 8085 \; \mu \mathrm{P}$ ?
(i) Call $2000 \; \mathrm{H}$
(ii) $\text{LDA} \; 2000 \; \mathrm{H}$

(c) Write an instruction which takes the minimum possible time to clear the accumulator of the $8085$.
edited by

Please log in or register to answer this question.