MCQ - 8085 Microprocessor - November 2020 With Answers
MCQ - 8085 Microprocessor - November 2020 With Answers
– 625 009
Department of Electrical and Electronics Engineering
Multiple Choice Questions
B.E. Electrical and Electronics Year/Sem./Sec
Branch III/ V/ A&B
Engineering .
Course
EE6502 Date 02.10.2020
Code
Course Microprocessors & Course Dr.N.KARPAGA
Name Microcontrollers Incharge M
a. 1 ,3 and 4
b. 2 ,3 and 4
c. 1, 2 and 3
d. 1, 2 and 4
2. In 8085 microprocessor system with memory mapped I/O, which of the following is true?
c. There can be maximum of 256 input devices and 256 output devices
d. Arithmetic and logic operations can be directly performed with the I/O data
a. To indicate to user that the microprocessor is working and is ready for use.
b. To provide proper WAIT states when the microprocessor is communicating with a slow
peripheral device.
a. (I) only
a. (I) only
b. (II) only
8.
Which of the following statements for Intel 8085 is correct?
a. Program Counter (PC) specifies the address of the instruction last executed
9. Processor status word of 8085 microprocessor has five flags. They are
a. S, Z, AC, P, CY
b. S, OV, AC, P, CY
c. S, Z, OV, P, CY
d. S, Z, AC, P, OV
10. The cycle required to fetch and execute an instruction in a 8085 microprocessor is which one of the
following?
a. Clock cycle
b. Memory cycle
c. Machine cycle
d. Instruction cycle
a. 40
b. 27
c. 21
d. 19
b. program counter
c. both A and B
d. none of these
a. POP C
b. POP B
c. POP D
d. POP 30 H
15. How many T-states are required for execution of OUT 80H instruction?
a. 10
b. 13
c. 16
d. 7
16. Which instruction is required to rotate the content of accumulator one bit right along with carry?
a. RLC
b. RAL
c. RRC
d. RAR
17. The frequency of the driving network connected between pins 1 and 2 of 8085 microprocessor is
18. READY signal in 8085 is useful when the CPU communicates with
c. a DMA chip
d. a PPI
a. B and C
b. D and E
c. H and L
d. W and Z
a. B and C
b. D and E
c. H and L
d. W and Z
21. A sequence of two registers that multiplies the content of DE register pair by two and stores the result in H
assembly language) is
a. 8 bit
b. 16 bit
c. 32 bit
d. 4 bit
a. INTR
b. TRAP
c. RST6.5
d. RST6.6
a. RST 0-7
c. INTR, TRAP
a. FIFO
b. LIFO
c. FILO
d. LILO
a. 0020H
b. 0028H
c. 0018H
d. 0019H
a. 1971
b. 1976
c. 1972
d. 1978
a. multiplexed
b. demultiplexed
c. decoded
d. encoded
a. Stack pointer
b. Program counter
c. Both a and b
d. None of these
B. AFH
C. 234
D. 64 H
40.In 8085
A. P flag is set when the result has even parity
B. P flag is set when the result has odd parity
C. P flag is reset when the result has odd parity
D. P flag is reset when the result has even parity
A. Stack Pointer
B. Program Counter
C. IR
D. a and b
42. In which of the following T-state does the CPU sends the address to memory or I/O & ALE
signal for demultiplexing
A. T1
B. T2
C. T3
D. T4
B. Assembler directives
D. False instructions
a. 0020H
b. 0028H
c. 0018H
d. 0019H
46. Address line for TRAP is ?
a. 0023H
b 0024H
c. 0033H
d. 0099H
a. multiplexed
b. demultiplexed
c. decoded
d. encoded
52. Which of the following 8085 instructions affect all flags except the CY flag?
a. ADC
b. INR
c. SUI
d. DCR
53. In 8085, the RST instruction will cause an interrupt
a. only if interrupts have been enabled by the EI (Enable interrupt) instruction
b. only if the interrupt mask bit is set to 0
c. only if an ISR is not actively executing
d. every time it's executed
54. Which of the following bus is not present in 8085?
a. Address Bus
b. DMA bus
c. Memory Bus
d. Control Bus
55. The content of the HL pair after the execution of the following instructions is
XRA A
MOV L, A
MOV H, L
INX H
DAD H
a. 0000H
b. 0001H
c. 0011H
d. 0002H
56. After the execution of CMP A instruction
a. ZF is set and CY is unchanged
b. ZF is reset and CY is set
c. ZF is set and CY is reset
d. ZF is reset and CY is unchanged
57. If you wish to save the value of the accumulator on the stack, which of the following
instruction will you use?
a.PUSH PSW
b.PUSH A
c.POP PSW
d.PUSH SP
58. POP B is a
a.1 byte instruction
b.2 byte instruction
c.3 byte instruction
d. 4 byte instruction
59. Upon the execution of the RET instruction:
a. PC gets incremented
b. Control goes directly to the next instruction after the calling instruction without any
operation
c. Control goes directly to the next instruction after the calling instruction without any
operation and also PC will get incremented
d. Top of the stack will get popped and get assigned to the PC
60. RST0 - RST7 are the __________ in 8085.
a. hardware interrupts
b. logical interrupts
c. software interrupts
d. conditional interrupts
Answers:
1 b 9 a 17 a 25 b 33 d 42 a 51 c
2 d 10 d 18 a 26 a 34 c 43 b 52 b
3 b 11 a 19 d 27 c 35 a 44 b 53 d
4 d 12 a 20 c 28 b 36 c 45 c 54 b
5 b 13 c 21 d 29 c 37 a 46 b 55 b
6 d 14 d 22 b 30 b 38 b 47 a 56 b
7 a 15 a 23 b 31 a 39 b 48 b 57 b
8 c 16 d 24 a 32 c 40 a 49 a 58 a
41 d 50 d 59 c
60 c
62. Which of the following commands will copy the contents of RAM whose address is in
register
0 to port 1
a. MOV P1, @R0
b. MOV P1, R0
c. MOV@P!,R0
d. MOV@R0, P1
63. The number of data registers is
a. 64
b. 8
c. 32
d. 16
64. Bit-addressable memory locations are
a. 20H – 2FH
b. 10H – 1FH
c. 30H – 3FH
d. 40H – 4FH
65. Which of the following instructions will move the contents of the accumulator to register 6
a. MOV A, 6H
b.MOV R6, A
c. MOV 6R, A
d. MOV A, R6
68. The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH will be
a. 0000 0100
b. 0010 0100
c. 11011010
d. 11010111
69. The contents of the accumulator after this operation MOV A,#2BH ORL A,00H will be
a. 2BH
b. 3BH
c. 4BH
d. 1BH
70. MOV A, @ R1 will
a. Copy the contents of memory whose address is in R1 to the accumalator
b. Copy the contents of accumalator to the memory
c. Copy R1 to the accumalator
d. Copy accumalator to R1
1 b 11 a 21 b 31 a 41 a 51 c 61 b 71 b 81 b 91 d
2 a 12 a 22 a 32 a 42 b 52 b 62 a 72 b 82 b 92 b
3 b 13 b 23 c 33 b 43 c 53 a 63 c 73 a 83 b 93 a
4 b 14 a 24 a 34 a 44 a 54 b 64 a 74 d 84 a 94 d
5 c 15 b 25 c 35 b 45 b 55 a 65 b 75 a 85 d 95 d
6 a 16 a 26 c 36 c 46 b 56 c 66 b 76 a 86 a 96 d
7 b 17 b 27 a 37 a 47 a 57 b 67 b 77 c 87 d 97 a
8 a 18 a 28 b 38 b 48 a 58 a 68 b 78 a 88 c 98 d
9 d 19 b 29 a 39 c 49 b 59 c 69 a 79 b 89 c 99 c
10 b 20 a 30 a 40 a 50 b 60 b 70 a 80 a 90 a 100 d
MOV R6,#200
BACK:MOV R5,#100
HERE:DJNZ R5, HERE
DJNZ R6,BACK
END
a) 100
b) 200
c) 20000
d) 2000
1) BACK: DEC R0
JZ BACK
2) BACK: DJNZ RO, BACK
a) yes
b) no
c) cant be determined
d) yes and the second one is preferred
118. Which addressing mode is used in pushing or popping any element on or from the stack?
a) Immediate
b) direct
c) indirect
d) register
119. Which operator is the most important while assigning any instruction as register indirect
instruction?
a) $
b) #
c) @
d) &
121. Which of the following comes under the indexed addressing mode?
a) MOVX A, @DPTR
b) MOVC @A+DPTR,A
c) MOV A,R0
d) MOV @R0,A
123. When we add two numbers the destination address must always be.
a) some immediate data
b) any register
c) accumulator
d) memory
125. If SUBB A,R4 is executed, then actually what operation is being applied?
a) R4+A
b) R4-A
c) A-R4
d) R4+A
130. How many data lines are there in a 16*2 alphanumeric LCD?
a) 16
b) 8
c) 1
d) 0
131. Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is
being pressed?
a) masking of bits
b) ensuring that initially, all keys are open
c) checking that whether the key is actually pressed or not
d) all of the mentioned
132. If we need to operate a key of a keyboard in an interrupt mode, then it will generate what
kind of interrupt?
a) ES
b) EX0/EX1
c) T0/T1
d) RESET
137. An electronic device which converts physical quantity or energy from one form to another
is called ______
a) Sensor
b) Transistor
c) Transducer
d) Thyristor
141. How many pins of the 8255 can be used as the I/O ports?
a) 8
b) 16
c) 24
d) 32
146. The largest value that can be loaded in an 8 bit register is?
a) 11111111H
b) FH
c) FFH
d) 00H
147. Which of the following instructions affect the flags of the status register?
a) AND
b) INC
c) OR
d) All of the mentioned
150. A 14-bit program counter can access __________ bytes of memory locations.
a) 4K
b) 8K
c) 16K
d) 64K
154. What is the value of the control register when RESET button is set to zero?
a) 0x00H
b) 0xFFH
c) 0x11H
d) value remains the same
159. The popular technique that is used in the integration of ADC chips is
a) successive approximation
b) dual slope integration
c) successive approximation and dual slope integration
d) none
162. The number of inputs that can be connected at a time to an ADC that is integrated with
successive approximation is
a) 4
b) 2
c) 8
d) 16
165. The device that is used to obtain an accurate position control of rotating shafts in terms of
steps is
a) DC motor
b) AC motor
c) Stepper motor
d) Servo motor
167. A simple scheme for rotating the shaft of a stepper motor is called
a) rotating scheme
b) shaft scheme
c) wave scheme
d) none
168. The firing angles of thyristors are controlled by
a) pulse generating circuits
b) relaxation oscillators
c) microprocessor
d) all of the mentioned
170. The number of hardware interrupts that the processor 8085 consists of is
a) 1
b) 3
c) 5
d) 7
171. The register that stores the bits required to mask the interrupt inputs is
a) In-service register
b) Priority resolver
c) Interrupt Mask register
d) None
172. In the application where all the interrupting devices are of equal priority, the mode used is
a) Automatic rotation
b) Automatic EOI mode
c) Specific rotation
d) EOI
173. The register that stores all the interrupt requests in it in order to serve them one by one on a
priority basis is
a) Interrupt Request Register
b) In-Service Register
c) Priority resolver
d) Interrupt Mask Register
176. Which of the following is true while executing data transfer instructions?
a) program counter is not accessible
b) restricted bit-transfer operations are allowed
c) both operands can be direct/indirect register operands
d) all of the mentioned
177. The logical instruction that affects the carry flag during its execution is
a) XRL A;
b) ANL A;
c) ORL A;
d) RLC A;
178. The instruction that is used to complement or invert the bit of a bit addressable SFR is
a) CLR C
b) CPL C
c) CPL Bit
d) ANL Bit
180. The mnemonic used to perform a subtraction of source with an 8-bit data and jumps to
specified relative address if subtraction is non-zero is
a) DJNZ
b) CJNE
c) JZ
d) JNC
181. In boolean instructions, the flag that is the only allowed destination operand for two
operand instructions is
a) overflow flag
b) underflow flag
c) auxiliary flag
d) carry flag
182. The current that is required for a LED for an appropriate glow is
a) 6-8 mA
b) 4-6 mA
c) 8-10 mA
d) 10-12 mA
183. The step that is involved in the procedure of memory interfacing with 8051 is
a) data bus is connected to data lines of memory chips
b) PSEN(active low) is connected to OE(active low) of EPROM chips
c) writing address map of memory chip in bit form
d) all of the mentioned
184. If EA(active low) signal =1, then the execution starts from
a) internal EPROM
b) flash RAM
c) internal EPROM or flash RAM
d) none
186. For deriving chip selects of isolated memory or IO devices, the gates that are traditionally
used are
a) NOR and NAND
b) NAND and NOT
c) NOT and NOR
d) AND, OR and NOT
187. The maximum current that can be sinked totally by all the ports of 8051 is
a) 61 mA
b) 81 mA
c) 91 mA
d) 71 mA
188. The number of LEDs that can be connected to a port of 8051, if all are expected to glow
simultaneously is
a) 6
b) 8
c) 10
d) 12
189. After the display is selected by second port, then the digit (LED) glows for a duration of
a) 5 msec
b) 10 msec
c) 2 msec
d) 6 msec
190. To convert its current output into a voltage, the DAC 0808 is connected with
a) Transistor(BJT) externally
b) FET externally
c) OPAMP externally
d) OPAMP internally
191. The number of priority levels that each interrupt of 8051 have is
a) 1
b) 2
c) 3
d) 4
192. During power down to save battery, the supply voltage can be reduced to a value of
a) 4 volts
b) 2 volts
c) 8 volts
d) 1 volt
193. The signal that only pulls the microcontroller(8051) out of the power down mode is
a) CLEAR
b) LEAVE
c) RESET
d) EXIT
196. What is the value of the control register when RESET button is set to zero?
a) 0x00H
b) 0xFFH
c) 0x11H
d) value remains the same
197. Why MOVX instruction is being used to access the ports of the 8255?
a) because 8255 is connecting a microcontroller in memory mapped I/O configuration
b) because 8255 is used to access the external communication
c) because 8255 is used to access the data transfer
d) because 8255 is used to access the interfacing of LCD, motor etc
198. The device that is used to obtain an accurate position control of rotating shafts in terms of
steps is
a) DC motor
b) AC motor
c) Stepper motor
d) Servo motor
199. Which of the following commands will copy the contents of location 4H to the
accumulator?
A. MOV A, 04H
B. MOV A, L4
C. MOV L4, A
D. MOV 04H, A
A. 4-bit
B. 8-bit
C. 16-bit
D. 32-bit
101 d 111 c 121 b 131 d 141 c 151 c 161 b 171 c 181 c 191 b
102 a 112 b 122 b 132 b 142 a 152 b 162 c 172 a 182 c 192 b
103 a 113 b 123 c 133 b 143 c 153 c 163 d 173 a 183 d 193 c
104 b 114 c 124 b 134 a 144 c 154 d 164 a 174 d 184 c 194 d
105 d 115 b 125 c 135 d 145 a 155 c 165 c 175 d 185 a 195 d
106 d 116 b 126 d 136 c 146 c 156 c 166 d 176 c 186 b 196 d
107 c 117 c 127 b 137 c 147 d 157 a 167 c 177 d 187 d 197 a
108 a 118 b 128 a 138 d 148 d 158 d 168 d 178 c 188 b 198 c
109 a 119 c 129 c 139 c 149 b 159 a 169 c 179 b 189 a 199 a
110 d 120 b 130 b 140 c 150 c 160 d 170 c 180 d 190 c 200 b