You are on page 1of 12

DEPARTMENT OF INFORMATION TECHNOLOGY

Subject Code :EC8691 Subject Name : Microprocessors and


Microcontrollers
Class : III IT / V Subject In – Charge : P.Ramalakshmi AP/ECE

QUESTION BANK
UNIT I
THE 8086 MICROPROCESSOR
Introduction to 8086 – Microprocessor architecture – Addressing modes - Instruction set
and assembler directives – Assembly language programming – Modular Programming -
Linking and Relocation - Stacks - Procedures – Macros – Interrupts and interrupt service
routines – Byte and String Manipulation.

Number
Q. Marks Knowled
Question of Times
No Allotted ge Level
in AU
PART – A
Introduction to 8086
1. What is Tristate bus? Nov/Dec-2014
2 K1 1
2. Calculate the physical address, when segment address is 1085
H and effective address is 4537 H. Nov/Dec-2016 2 K2 1
3. List the segment registers of 8086. Nov/Dec-2016
2 K1 1
4. Define Stack Pointer. Apr/May-2018
2 K1 1
5. Define stack. Apr/May-2016, Apr/May-2017
2 K1 2
6. List the flags of 8086 microprocessor. Nov/Dec-2016,
Apr/May-2016, Apr/May-2014 2 K1 3
7. Why is the 8086 memory divided into odd and even banks?
Nov/Dec-2013 2 K2 1
8. What do you mean by Segment Override Prefix? Nov/Dec-
2013 2 K1 1
9. What are the advantages of memory mapped I/O over I/O
mapped I/O? Apr/May-2014 2 K1 1
10. List the addressing modes of 8086. Give examples.
Apr/May-2015 2 K1 1
Instruction set and assembler directives
11. What is an assembler? Nov/Dec-2014
2 K1 1
12. List the modes of operation in 8086. Nov/Dec-2017,
Apr/May-2018 2 K1 2
13. What are the 8086 instructions used for ASCII arithmetic?
Nov/Dec-2013 2 K1 1
14. Define Macros. Nov/Dec-2017
2 K1 1
15. The offset address of a data is (341B) H and the data segment
register value is (123A)H. What is the physical address of the 2 K2 1
data? Apr/May-2017
16. What is direct memory access? Nov/Dec-2014
2 K1 1
17. What are byte and string manipulations? Nov/Dec-2018.
2 K1 1
18. Show how the 2 byte INT instruction can be applied for
debugging. Nov/Dec-2015 2 K2 1
19. What are the 8086 instructions used for BCD arithmetic?
Apr/May-2013 2 K1 1
20. What are the contents of AL and CY after the execution of
the following segment? Apr/May-2013
MOV BL, D5H 2 K2 1
RCL BL, 3
MOV AL, BL
21. Briefly describe the term Macros. K2
2 -
22. Write about modular programming. 2 K1
-
23. Explain the Linking Process. 2 K2
-
Interrupts and Interrupt Service Routine
24. What is the need for interrupts in Microprocessor operation?
2 K1 1
Nov/Dec-2018
25. Write about the different types of interrupts supported in
2 K1 1
8086. Apr/May-2015
26. List the various string instructions available in 8086.
2 K1 1
Nov/Dec-2013
27. Why is 8284 clock generator connected to the 8086 CLK
2 K2 1
pin? Apr/May-2013
PART B
Introduction to 8086
28. Explain the internal hardware architecture of 8086
microprocessor with neat diagrams. 10 and 8 K2 2
Nov-Dec 2016, Apr/May-2015
29. Describe the functions of Execution unit and Bus interface
8 K2 1
unit. Apr/May-2014
30. Briefly describe about addressing modes of 8086. Apr/May- 8
2015 K2 1
31. Explain the various addressing modes available in 8086.
Explain each mode with an example. Nov/Dec-2018, 13 K2 4
Apr/May-2016,Apr/May-2016, Apr/May-2015
32. With a neat block diagram, explain the architecture of 8086
Microprocessor. Apr/May-2018, Nov/Dec-2017, Apr/May- 13 K2 5
2017,Nov-Dec 2016, Nov-Dec 2015
33. For 8086 microprocessor what are the instruction set and
13 K2 1
assembler directives. Nov/Dec-2018
Instruction set and assembler directives
34. Write a short note about assembler directives. Nov-Dec 2016
3 K2 1
35. Explain the Data transfer, arithmetic and branch instructions
8 K2 1
with examples. Nov-Dec 2016
36. Develop an 8086 ALP to find the sum of numbers in an array
7 K3 1
of 10 elements. Nov-Dec 2016
37. Develop an 8086 assembly language program to convert
8 K3 1
BCD data – Binary data Nov-Dec 2016
38. Explain about the Assume, EQU, DD assembler directives.
8 K2 1
Nov-Dec 2015
39. Develop an 8086 assembly language program to check
8 K3 1
whether the given string is palindrome or not. Nov-Dec 2015
40. Briefly explain the arithmetic group of instructions available
7 K2 1
in 8086 microprocessor. Nov-Dec 2014
41. Briefly explain the assembler directives of 8086. Nov-Dec
7 K2 1
2014
42. The data transfer rate of I/O device ‘A’ is considerably less
that of the microprocessor. Draw a flow chart of data transfer 8 K3 1
operation to be used. Apr/May-2014
Interrupts and Interrupt Service Routine
43. Explain about Interrupt and Interrupt Service Routine in
8086. Apr/May-2018, Nov/Dec-2017, Apr/May-2017,Nov- 13 K2 5
Dec 2015, Apr/May-2015
44. Write notes on Interrupt processing Apr/May-2014
5 K2 1
45. Develop a program to transfer 10 bytes of data from memory
6 K3 1
location starting from 2000H. Apr/May-2014
PART C
Assembly language programming
46. Develop an algorithm and write ALP for sort a given array
Ascending and Descending order with array of length 10 15 K3 -
using 8086 Microprocessor.
47. What do you mean by assembler directives? Explain
7 K2 -
SEGMENT, TYPE and OFFSET with suitable examples.
48. Summarize an 8086 ALP to compare two strings of same
8 K3 -
length.
49. Develop an assembly language program for performing
the Multiplication and Division of 16 bit numbers using 15 K3 -
8086 Microprocessor.
50. Design an ALP in 8086 to multiply two 16-bit numbers.
10 K3 -
51. Develop an assembly language program for ASCII to HEX
5 K3 -
code conversion using 8086.

UNIT II
8086 SYSTEM BUS STRUCTURE
8086 signals – Basic configurations – System bus timing –System design using 8086 – IO
programming – Introduction to Multiprogramming – System Bus Structure -
Multiprocessor configurations – Coprocessor, Closely coupled and loosely Coupled
configurations – Introduction to advanced processors.
Number
Q. Marks Knowled
Question of Times
No Allotted ge Level
in AU
PART – A
8086 Signals and Configurations
52. What is the need of lock signal? April/May2017
2 K1 1
53. Define machine cycle? November /December2016
2 K1 1
54. Define Bus? November /December2016
2 K1 1
55. Differentiate External verses Internal bus ? May
/June2016 2 K2 1
56. Define bus .why bus request and cycle stealing are
required? April/May2015 2 K2 1
57. Draw the read cycle timing diagrams for minimum
mode. April/May2015 2 K2 1
58. What is direct memory access? Nov/ Dec-2014
2 K1 1
59. What is virtual memory addressing?
2 K1 -
60. State the queue status of QS1 and QS0.
2 K1 -
61. Draw the timing diagram of Interrupt acknowledgement
minimum mode system. 2 K2 -
62. What is meant by multiprogramming?
April/May2017,November/December 2015 2 K1 2

System Bus Structure


63. Write some example for advanced processors.
April/May2017, November /December2017 2 K1 2
64. Compare closely coupled and loosely coupled
configuration? May /June2016 2 K2 1
65. Schematically show, how synchronization is made
between 8086 and co-processor. Nov /Dec 2015 2 K2 1
66. When the co-processor is used? Nov /Dec 2018
2 K2 1
67. Why memory interfacing is required? November
/December2018 2 K2 1
68. Discuss about Semaphore.
2 K1 -
69. How does the main processor distinguish its instructions
from the co-processor instructions when it fetches the 2 K2 -
instructions from memory?
70. Mention the bus allocation schemes in multiprocessor
Configurations 2 K1 -
71. Show your understanding on bus request, bus Grant and
Stealing? 2 K2 -

PART B
8086 Signals and Configurations
72. Explain in the details about the system bus timing of
8086/8088. November /December2016, May 13 K2 2
/June2016
73. Explain the following May /June2016
i) Microprocessor system
ii) Coprocessor 13 K2 1
iii) Multiprogramming
iv) Semaphore
74. With neat diagram explain the minimum modes of
13 K2 1
operation of 8086? November /December2015
75. Discuss the maximum mode configuration of 8086 by
with a neat diagram. Mention the function of various 13 K2 1
Signals. April/May2015
76. Identify the following:
7
(i) Programmed I/O K2 -
(ii) Interrupt I/O 6
System Bus Structure
78. Discuss about the multiprocessor configuration of 8086.
13 K2 1
November /December2016
79. Explain the system bus structure of 8086. Draw the
timing diagram for interrupt acknowledgement cycle? 13 K2 2
April/May2017, November /December2017
80. What do you understand from system bus structure?
7 K2 1
Explain. November /december2018
81. Explain the closely looped configuration with neat
8 K2 1
diagram? Apr/May2017, Nov/Dec2017, Nov /Dec2018
82. Define loosely coupled System .Explain the schemes
8 K2 1
used for establishing priority. Nov /Dec2015
83. Design the block diagram of Polling method. 6
Draw the block diagram of daisy chaining method and K2 -
7
explain.
PART C
System Bus Structure and Advanced Processors
85. i)Write down the comparison of minimum mode and
8
maximum mode pins.
ii)Draw the timing diagram for the execution of the K2 -
7
8086 MOV instructions.
87. Summarize the timing diagram of memory read and
memory, write the operations of 8086 microprocessor 15 K2 -
and explain in detail.
88. Assess the various schemes used to solve the bus
15 K2 -
arbitration problem in multiprocessors.
89. With necessary illustrations write the execution step of
8
8087 Coprocessor. K2 -
Explain the architecture of 80286. 7
UNIT III
I/O INTERFACING
Memory Interfacing and I/O interfacing - Parallel communication interface – Serial
communication interface – D/A and A/D Interface - Timer – Keyboard /display controller
– Interrupt controller – DMA controller – Programming and applications Case studies:
Traffic Light control, LED display, LCD display, Keyboard display interface and Alarm
Controller.

Number
Q. Marks Knowled
Question of Times
No Allotted ge Level
in AU
PART – A
Memory and I/O interfacing, Serial, Parallel, D/A and A/D
91. What is the drawback of memory mapped I/O?
Nov/Dec-2016. 2 K1 1
92. Give the various modes of 8254 timer. Apr/May 2018
2 K1 1
93. Write the 16-bit delay program in 8086. Apr/May 2018,
Apr/May 2017 2 K2 2
94. Why is memory interfacing required? Nov/Dec 2018
2 K2 1
95. List the four display modes of 8279 keyboard and
display controller 2 K1 -
96. List the advantages and disadvantages of parallel
communication over serial communication. 2 K1 1
Apr/May 2016
97. What is key bouncing? Apr/May 2016, Nov/Dec 2014
2 K1 2
98. List the operating modes of 8255 A and 8237 A.
Nov/Dec 2015 2 K1 1

99. What frequency transmit clock (TxC) is required


by an 8251 in order for it to transmit data at 4800
2 K2 1
baud with a baud rate factor of 16? Nov/Dec
2015
100. Give the various modes and applications of 8254 timer?
Apr/May 2015 2 K1 1

DMA controller and Traffic Light controller


101. What are the differences between LED display and LCD
display. Nov/Dec 2018 2 K1 1

102.
What is sample and hold circuit? Nov/Dec 2014 2 K1 1
103. State the significance of using microprocessor in
interfacing traffic light control. May/June 2014 2 K1 1
104. State your idea on the different types of command
words used in 8259? 2 K1 -
105. Evaluate your opinion on the operating modes of
8259A? 2 K2 -
106. Elaborate the purpose of control word written to control
register in 8255. 2 K2 -
107. Invent how many address lines and data lines are
necessary for accessing 32K X 8 memory? 2 K2 -
108. What are the handshake signals used in Mode 2
configurations of 8255. Nov/Dec 2017 2 K1 1
109. How the DMA operation performed in 8086? Nov/Dec
2017 2 K2 1
110. Draw the format of read back command register of
8254. April/May2017 2 K2 1

PART B
Memory and I/O interfacing, Serial, Parallel, D/A and A/D
111. How are D/A and A/D interfaces used? Explain.
Nov/Dec 2018, April/May2015, Nov/Dec 2013 13,16 K2 3
112. Draw and Explain functional diagram of 8251.
Nov/Dec 2017 , Nov/Dec 2015 13,16 K2 2
113. Draw the block diagram and explain the operations of
USART April/May2018 7 K2 1
114. Discuss about memory and I/O interfacing. 6 K2 -
115. With a block diagram design how 8255 functions in
different modes to accommodate different kind of I/O 5 K3 -
devices.
116. K2
Briefly explain the method of interfacing A-to-D
converter with microcontroller. Nov/Dec 2014 8 1

117. Write notes on Programmable Interval Timers 8253 K2


and 8254. April/May2014, Nov/Dec 2014 8 2
DMA controller and Traffic Light controller
118. What are interrupt controller and DMA controller?
Explain Nov/Dec 2018, April/May2018, Nov/Dec 13 K2 4
2016, April/May2016
119. Draw and explain functional diagram of keyboard
and display controller. Nov/Dec 2017, Nov/Dec 13,16 K2 3
2015, April/May2014
120. Draw the block diagram of alarm controller with 8086
16 K2 1
as processor. April/May2015
121. With neat block diagram explain the 8255
programmable Peripheral Interface and its operating
modes. Nov/Dec 2013, May/June 2014 16 K2 2

PART C
System Bus Structure and Advanced Processors
32. Develop a 8086 based system to display the word 15 K3 2
HELLO for every 2 ms in the common cathode seven
segment LED display and check how many times the
word displayed for one hour. Nov/Dec 2017,
April/May2017
33. Draw the block diagram of traffic light control system
15 K2 1
using 8086. April/May2018
34. Write the algorithm and assembly language program for
15 K3 1
traffic light control system. April/May2018
35 Discuss the various operating modes of 8253 timer with
15 K2 -
necessary control words.

UNIT IV-MICROCONTROLLER
Architecture of 8051 – Special Function Registers(SFRs) - I/O Pins- Ports and Circuits -
Instruction set - Addressing modes - Assembly language programming.

Number
Q. Marks Knowled
Question of Times
No Allotted ge Level
in AU
PART – A
Architecture of 8051, SFRs, IO pins and Ports
122. How Microcontroller is different from
Microprocessor? Nov/Dec-2018. 2 K2 1
123. How to set 8051 in idle mode? Nov/Dec2017
2 K2 1
124. Which port used as multifunction port? List the
signals. April/May2017 2 K1 1
125. Draw the pin diagram 8051. Nov/Dec2016,
April/May2018 2 K1 2
126. What is the significance of EA pin? Nov/Dec2016 2 K1 1
127. Mention the number of register banks and their
addresses in 8051.Nov/Dec2015 2 K1 1
128. Draw the diagram for processor status word in 8051.
April/May2015 2 K1 1
129. How do you select the register bank in 8051
microcontroller? April/May2015, April/May2013 2 K2 1
130. How the processor 8051 does know whether on-chip
ROM or external program memory is used? 2 K3 1
April/May2014
131. List the SFRs involves in interrupt programming of
8051. Nov/Dec2014 2 K1 1
132.
Why it is necessary to have external pull- up for port 0 2 K2 1
in 8051? Nov/Dec2014
133. Which of the 8051 ports need pull-up registers to
2 K2 1
functions as an I/O port? Nov/Dec2013
134. Specify the size of memory systems used in 8051
microcontroller. Nov/Dec2012 2 K1 1
135. How many ports are bit addressable in 8051 µ c?
Nov/Dec2011 2 K2 1

Instruction set, Addressing modes and ALP


136. What are the addressing modes of a Microcontroller?
Nov/Dec-2018. 2 K1 1

137. Illustrate the DJNZ operation instruction. Nov/Dec


2017 2 K2 1
138. Illustrate the CJNE instruction. April/May2017
2 K1 1
139. What is the different ways of operand
2 K2 1
addressing in 8051? April/May2016
140. Write the 8051 ALP to toggle P1 a total of 200 times.
Use RAM locations 32H to hold your counter value
2 K3 1
instead of register R0-R7 May/June 2016
141. What is the jump range? Nov/Dec2015
2 K1 1
142. What is the difference between AJMP and LJMP
2 K2 1
instruction? April/May2014
143. How do you place a specific value in the DPTR
register? Nov/Dec2013 2 K2 1
144. Mention the different operand types used in 8051
microcontroller. Nov/Dec2012 2 K1 1
145. What are the hardware and software interrupts of 8051
µ c? Mention its vector addresses. Nov/Dec2011 2 K1 1

PART B
Architecture of 8051, SFRs, IO pins and Ports
146. Discuss the ports and its circuits of 8051 Nov/Dec
2017 13 K2 1
147. Give PSW of 8051 and describe the use of each bit in
PSW. Nov/Dec 2015 8 K2 1
148. How input/output pins and ports help in a circuit of a
microcontroller? Nov/Dec 2018 13 K2 1
149. Write the available special function registers in 8051.
Explain each register with its format and function? 16,13 K2 3
Nov/Dec 2015, April/May2017, Nov/Dec 2018
150. Explain in detail about the architecture of 8051
microcontroller with neat diagram. April/May2015, K2
May/June2016, Nov/Dec 2016, Nov/Dec 2017, 8,16,13 5
April/May2018
151. Explain the TMOD function register and its timer K2
modes of operations. April/May2015 8 1
152. Describe the function of the following signals in K2
8051.RST, EA, PSEN and ALE. Nov/Dec2015 8 1
153. Explain in detail the memory organization of 8051 16 K2 1
microcontroller. Nov/Dec2014
Instruction set, Addressing modes and ALP
154. Discuss the type of addressing modes with suitable example
in 8051. Nov/Dec 2015, April/May2017, April/May2018 8,13 K2 3
155. Write an 8051 assembly language program to multiply the
given number 45H and 30H. April/May2017 5 K2 1
156. Explain about Arithmetic and control instruction
set in 8051.April/May2015 10 K2 1
157.
Write a program to bring in data in serial form and 6 1
K3
send it out in parallel for using 8051. April/May2015
158. Write an ALP using 8051 instruction to receive bytes K3
of data serial and put them inp1.Set the baud rate at 16 1
4800, 8-bit data and 1 stop bit. Nov/Dec2016
159. Write an 8051 ALP to create a square wave of 66% K3
day cycle on bit 3 port1.May/June2016 16 1
160. Write an assembly language program for 8051 to find K3
largest of three numbers. 8 -
PART C
Assembly language programming
161. Summarize block diagram how to access external
8 K2 -
memory devices in an 8051 based system.
162. Explain the Boolean processing capabilities of an 8051
7 K2 -
microcontroller.
163. Write a brief note on external data move operations in
8 K3 -
8051.
164. Write an 8051 ALP to add three BCD numbers stored
in internal RAM locations 25H, 26H and 27H and put
the result in RAM locations 31H (MSB) and 30H 7 K3 -
(LSB). Use Register R0 to store the intermediate
result.

UNIT V
INTERFACING MICROCONTROLLER
Programming 8051 Timers - Serial Port Programming - Interrupts Programming – LCD &
Keyboard Interfacing - ADC, DAC & Sensor Interfacing - External Memory Interface-
Stepper Motor and Waveform generation - Comparison of Microprocessor,
Microcontroller, PIC and ARM processors

Number
Q. Marks Knowled
Question of Times
No Allotted ge Level
in AU
PART – A
Programming 8051 Timers
165. List the 8051 interrupts with its priority. Nov/Dec 2017,
April/May 2017, April/May 2018 2 K1 3
166. Give two example of sensors and state its uses. Nov/Dec 2 K1 1
2017
167. What are the types of sensors used for interfacing?
April/May 2017, April/May 2018 2 K1 1
168. List the modes of timer in 8051. Nov/Dec 2016 2 K1 1
169. State how baud rate is calculated for serial data transfer
in mode 1. Nov/Dec 2016 2 K3 1
170. Compare polling and interrupt. May/June 2016 2 K2 1
171. Define baud rate. May/June 2016 2 K1 1
172. Mention the features of special ports in mode 0.
Nov/Dec 2015 2 K1 1
173. What is jump range? Nov/Dec 2015 2 K1 1
174. Differentiate between timer and counter. Draw the
diagram of TCON in 8051. April/May 2015 2 K2 1
Which register is used for serial programming in 8051?
175. 2 K2 1
Illustrate it. April/May 2015
176. How to program 8051 timers? Nov/Dec 2018 2 K2 1
177. What are the types of ADC? Nov/Dec 2018
2 K1 1

Stepper Motor and Waveform generation


178. Illustrate the idea behind motor control using PWM.
2 K2 -
179. Write about the design steps involved in using
microcontroller for stepper motor. May/June 2014 2 K2 1

180. State the significance of using microprocessor in


interfacing traffic light control. May/June 2014 2 K2 1
181. Mention the advantages of microprocessor based system
2 K2 -
design.
182. List out the classifications of stepper motor. 2 K1 -
183. How to change the stepper motor direction? 2 K2 -
184. What is the use of stepper motor?
2 K1 -
PART B
Programming 8051 Timers
185. Illustrate the serial communication in 8051, with its
special function register. May/June2016,Nov/Dec 16,13 K2 3
2017, Nov/Dec2018
186. Interface the ADC converter with 8051 and explain with
neat diagram. Nov/Dec 2017 7 K3 1
187. Write the assembly language program to execute the
ADC conversion. Nov/Dec 2017 6 K3 1
188. Describe the different mode of operation of
timer/counter in 8051 microcontroller with its associated 16,13 K2 3
registers. April/May2015,/Dec 2016, April/May2018
189. Draw a diagram to interface a stepper motor with 8051 16,13 4
micro controller also write an 8051 ALP to run the
stepper motor in both forward as reverse direction. K3
Nov/Dec2015,Nov/Dec 2016, May/June2016,
April/May2018
190. With a neat circuit diagram explain how a 4 x 4 keypad
is interfaced with 8051 microcontroller and write 8051 16 K3 1
ALP for keypad scanning. Nov/Dec2015
191. How does one interface a 16 x 2 LCD Display using
8051 microcontroller? April/May2015 16 K3 1
192. Draw the diagram to interface a stepper motor with
8051 microcontroller and explain. Write a 8051
language program to run the stepper motor in both 16 K3 1
forward and reverse direction with delay.
April/May2015
193. What are sensor interfacing and external memory
13 K2 1
interfacing? Explain. Nov/Dec2018
194. Write a program using 8051 assembly language to add
three BCD numbers stored in internal RAM locations
7 K3 -
25H, 26H and put the result in RAM locations 31H and
30H. Use register R0 to store the intermediate result.
PART C
Assembly language programming
195. Write a program for generation of unipolar square
waveform of 1 kHz frequency using Timer0 of 8051 in
mode0. Consider the system frequency are 12Mhz. 15 K3 2
April/May2017, Nov/Dec 2017
196. How Microprocessor and Microcontroller can help to
15 K3 1
control a process or a machine tool? Nov/Dec 2018
197. Explain how an LCD and Keyboard is interfaced with
8 K2 -
8051.
198. Write about serial port interface of 8051 in detail . 7 K2 -
199. Generalize the different methods of memory address
8 K2 -
decoding in 8051 microcontroller.
200. Develop an 8051 program to monitor P1 continuously
3 the value 63H. It should get out of the monitoring only 7 K3 -
if P1=63H.
201. Demonstrate the interfacing of stepper motor with
8051and explain its interfacing diagram and develop
15 K3 1
program to rotate the motor in clockwise direction.
April/May2017
202. You are provided with 4x4 matrix key board, a
microcontroller and a seven segment display. Design a
system which has to display the hexadecimal code of the 15 K3 -
corresponding key pressed. Assume all other relevant
details. Give a program for your design.

You might also like