8085 Microprocessor MQs
8085 Microprocessor MQs
electricalvoice.com/8085-microprocessor-mcqs/8
LXI B, 0010 H
LOOP: DCX B
MOV A, B
ORA C
JNZ LOOP
1. 10
2. 100
3. 16
4. 15
Answer
Answer. c
102. Read the following assembly language program segment of the 8085
microprocessor:
LXIH, 2501 H
MOV A, L
ORI F0 H
MOV L, A
MOV A, H
ANI F0 H
MOV H, A
HLT
What are the contents of A, H and L registers after executing the above set of
instructions in sequence?
MVI A, 91H
XRI 91 H
Answer
Answer. c
104. Consider the following statements:
1. 1, 2 and 3
2. 2 and 4
3. 3 and 4
4. 1 and 3
Answer
Answer. d
105. The contents of memory locations 2000 H, 2001 H and 2002 H are AAH, BBH and
CCH respectively. What are the contents of H and L registers after executing the
following instructions in sequence?
LXI H, 2001 H
LHLD 2001 H
2/5
1. Contents of H and L registers are 20 H and 01 H, respectively
2. Contents of H and L registers are AAH and BBH, respectively
3. Contents of H and L registers are BBH and CCH, respectively
4. Contents of H and L registers are CCH and BBH, respectively
Answer
Answer. d
106. The following sequences of instructions are executed by an 8085 microprocessor:
What are the contents of the stack pointer (SP) and the HL register pair on completion
of execution of these instructions?
1. SP = 27 FF, HL = 1003
2. SP = 27 FD, HL = 1003
3. SP = 27 FF, HL = 1006
4. SP = 27 FD, HL = 1006
Answer
Answer. c
107. INR instruction of 8085 does not affect carry flag. Which of the following is correct
about INR instruction?
Answer
Answer. c
108. Consider the following 8085 instructions:
1. 1, 2, 3 and 4
3/5
2. 2 only
3. 1, 2 and 4
4. 1,3 and 4
Answer
Answer. d
109. Consider the program given below, which transfer a block of data from one place in
memory to another:
MVI C, 0B H
LXI H, 2400 H
LXI D, 3400 H
L1: MOV A, M
STAX D
INR L
INR E
DCR C
JNZ L1
What is the total number of memory accesses (including instruction fetches) carried
out?
1. 118
2. 140
3. 98
4. 108
Answer
Answer. a
110. Consider the following statements about register indirect addressing:
1. 1, 3 and 4
2. 1, 2 and 4
3. 2,3 and 4
4/5
4. 1,2 and 3
Answer
Answer. b
5/5