Professional Documents
Culture Documents
A) 75 (B) 6C C) DB (D) B6
8. In an 8085 microprocessor, the instruction CMP Bhas been executed while
the contents of
accumulator is less than that of register B. As a result carry flag
andzero flag will be
respectively
(A) set, reset (B) reset, set C) reset, reset (D) set, set
9. Consider the following 8085 instruction
MVI A, A9H
MVI B, 57H
ADD B
ORA A
The flag status (S, Z, CY) after the instruction
ORA A is executed, is
(A) (0, 1, 1) (B) (0, 1, 0) (C) (1, 0, 0) (D) (1, 0, 1)
10. Consider the following set of 8085 instructions
MVI A, 8EH
ADI 73H
JC DSPLY
OUT PORT1
HLT
DSPLY : XRA A
OUT PORT1
HLT
The output at PORT1 is
(A) 00 (B) FEH C) 01H (D) 11H
MOV C, A
HLT
(b) MOV A, C
MVI B, F0H
ANA B
MOV C, A
HLT
(c) MOV A, C
MVI B, 0FH
ANA B
MOV C, A
HLT
(d) MOV A, C
ANI 0FH
MOV C, A
HLT
The instruction set, which execute the desired
operation are
(A) a and b (B) c and d
(C) only a (D) only d
13. Consider the following 8085 assembly program :
MVI B, 89H
MOV A, B
MOV C, A
MVI D, 37H
OUT PORT1
HLT
The output at PORT1 is
(A) 89 (B) 37
(C) 00 (D) None of the above