pulse Click on Answer tab for Answers.

Programming of 8085 Microprocessor – 1 – 1

1. If 8085 adds 87 H 79 H, then

(a) Both CARRY and ZERO flags will be set to 0.
(b) CARRY flag will be set to 0 and ZERO flag to 1.
(c) CARRY flag will be set to 1 and ZERO flag to 0.
(d) Both CARRY and ZERO flags will be set to 1.

ANSWER

EXPLANATION

2. If A=29 BCD and B=33BCD, then after ADD B instruction the output will be :

(a) 62 BCD
(b) 62H
(c) 5CH
(d) 5C BCD

ANSWER

EXPLANATION

3. Consider the program
PUSH PSW
POPH
After the execution of this program :

(a) The L resistor contains flag resistor contents  
(b) The H resistor contains flag resistor contents  
(c) The L resistor contains accumulator contents  
(d) None of the above.

ANSWER

EXPLANATION

4. Which one of the following instructions can be used to clear the accumulator ?

(a) XRA A 
(b) MVI A, 00H
(c) SUB A
(d) All of these

ANSWER

EXPLANATION

5. How many times the loop in the following program will be executed ?
LXI D, 0050H
DCX D
MOV A, E
ORA D
XRA A
JNZ LOOP

(a) 80
(b) 0
(c) 1
(d) Infinite

ANSWER

EXPLANATION

1
 

Be a Part of The New & Next

MCQs fb  MCQs G+

Share the Knowledge

Shares
Copy Protected by Chetan's WP-Copyprotect.