EE8551-Microprocessors and Microcontrollers
EE8551-Microprocessors and Microcontrollers
DEPARTMENT OF
ELECTRONICS AND INSTRUMENTATION ENGINEERING
QUESTION BANK
V SEMESTER
Regulation – 2017
Prepared by
Mr. K.R.Ganesh, Asst. Prof. (Sr.G)/EIE
Mrs.S.Vanila, Asst. Prof. (Sel.G)/EEE
EE8551 –MICROPROCESSORS AND MICROCONTROLLERS 2020
Hardware Architecture, pinouts – Functional Building Blocks of Processor – Memory organization – I/O ports
and data transfer concepts– Timing Diagram – Interrupts.
PART –A
BT
Q.No Questions CO Competence
Level
1. What are the flags available in 8085 processor? BLT 1 CO1 Remember
2. Explain the function of program counter in 8085 microprocessor. BLT 4 CO1 Analyze
3. State any four pins of 8085 processor which are used to generate CO1
BLT 2 Understand
control and status signals.
4. Explain the following signals of 8085: RST 7.5, READY BLT 4 CO1 Analyze
5. Show the schematic to generate separate read/write control signals CO1
for memory and I/O related signals in 8085. BLT 3 Apply
6. Illustrate the functions of the two status signals S0 and S1 in 8085. BLT 3 CO1 Apply
7. List the registers of 8085 processor. BLT 1 CO1 Remember
8. What is stack and what is the function of stack pointer? BLT 1 CO1 Remember
9. Give two applications of 8085 BLT 2 CO1 Understand
10. Calculate the execution time of an instruction MVI A,82H in 8085 CO1
BLT 3 Apply
runs at 2 MHz.
11. Give the various machine cycles of 8085. BLT 2 CO1 Understand
12. If the memory address of the last location of a 1Kbyte memory chip CO1
is FBFFH, What is the starting address? BLT 6 Create
13. Differentiate I/O mapped I/O and Memory mapped I/O. BLT 4 CO1 Analyze
14. Draw the schematic of latching low-order address bus in 8085 CO1
BLT 2 Understand
microprocessor.
15. What are the interrupts available in 8085? BLT 1 CO1 Remember
16. Compare software and hardware interrupts. BLT 5 CO1 Evaluate
17. Mention the use of ALE in 8085 microprocessor. BLT 2 CO1 Understand
18. Define polling. BLT 1 CO1 Remember
19. What is meant by level triggered input? Which of the interrupts in CO1
BLT 1 Remember
8085 are level triggered?
20. CO1
What is the function of HOLD and HLDA in 8085 microprocessor? BLT 5 Evaluate
PART –B
1. Draw the pin configuration of 8085 and explain the purpose of each CO4
signal.(13) BLT 1 Remember
2. Deduce the functional description of 8085 Microprocessor with neat CO4
BLT 5 Evaluate
diagram.(13)
3. Describe the features in the hardware architecture of 8085
microprocessor with a neat diagram. Explain the function of the BLT 1 Remember
various registers available in it.(13) CO4
4. (i) Explain the function of the various interrupts available with
8085 microprocessor.(7)
BLT 4 CO1 Analyze
(ii) Explain with timing diagrams, the Opcode fetch machine cycle
of 8085 microprocessor.(6)
5. (i) Describe in detail about memory interfacing using 8085.(7) CO1
BLT 1 Remember
(ii) Draw and explain the flag register of 8085 in brief.(6)
6. (i) Draw the timing diagram for memory read cycle and
explain.(7) BLT 4 Analyze
(ii) Draw and explain the timing diagram for MVIA,32H.(6) CO1
7. (i) Illustrate the execution of instruction CALL 4322H with timing
diagram. Assume the relevant details.(7) BLT 3 CO1 Apply
(ii) Illustrate about the bus structure of 8085 processor.(6)
8. Explain with suitable example that how an input and output device is
interfaced with 8085 Microprocessor using 3 to 8 decoder.(13) BLT 6 CO1 Create
9. Discuss with flow diagram how an instruction is fetched and
executed in an 8085 processor.(13) BLT 2 CO1 Understand
10. (i) Discuss in detail about the I/O read and write operation of 8085
processor with timing diagram.(7) CO1
BLT 2 Understand
(ii) Discuss briefly the input and output interfacing techniques used
in 8085 microprocessor.(6)
11. Explain an 8085 interrupt process and mention the difference CO1
between a maskable and a non maskable interrupts.(13) BLT 2 Understand
12. (i) Draw and explain the timing diagram for SHLD 16-bit
address.(6) CO1
BLT 4 Analyze
(ii) Explain the interpretation of the accumulator bit pattern for
SIM and RIM instruction.(7)
13. (i) What are the data transfer mechanisms supported by 8085
processor?(7) BLT 1 CO1 Remember
8. Illustrate the function of 8085 instruction: CPI and RRC. BLT 3 CO5 Apply
9. Differentiate CALL and JUMP instruction. BLT 4 CO2 Analyze
10. CO5
Develop an ALP to add 5 data bytes stored in memory locations
BLT 6 Create
starting at 4500H and display the sum in next memory location.
11. Develop an assembly level program in 8085 to check whether the CO5
BLT 6 Create
content of accumulator is even or odd
12. What is meant by look up table? BLT 1 CO2 Remember
13. Discuss how time delay is generated using subroutines? BLT 2 CO5 Understand
14. State any four data transfer instructions and their function. BLT 1 CO5 Remember
15. What is subroutine? Mention the instructions related to subroutine in CO2
BLT 2 Understand
8085 microprocessor.
16. Explain the function of stack. BLT 4 CO2 Analyze
17. Differentiate cascade stack and memory stack. BLT 2 CO2 Understand
18. Explain any two stack related instructions in 8085 microprocessor. BLT 5 CO2 Evaluate
19. CO5
Examine the purpose of the I/O instructions IN and OUT. BLT 3 Apply
20. EDescribe the operation carried out when 8085 executes RST0 CO5
rinstruction. BLT 2 Understand
PART-B
1. (i) Explain the various addressing modes of 8085 microprocessor
with example.(8) BLT 1 CO1 Remember
(ii) Explain the Compare instructions of 8085 microprocessor.(5)
2. Explain the operations carried out when 8085 executes the
instruction.(13) BLT 4 CO5 Analyze
(i) MOV A, M (ii) XCHG (iii) DAD B (iv) DAA.
3. (i) Describe with suitable examples the data transfer and control
instructions in 8085 microprocessor.(7) CO1
(ii) Describe the categories of instructions used for data BLT 2 Understand
manipulation in 8085 Microprocessor.(6)
4. (i) Write short notes on branching operations available in 8085.(7)
CO2
BLT 4 Analyze
(ii) Compare the similarities and differences of CALL and RET
instructions with PUSH and POP instructions.(6)
5. Define addressing mode .Identify the addressing mode of the
following instructions and explain them.(13)
(i)STA 6350H
(ii)CMA BLT 4 CO5 Analyze
(iii)MOV A,M
(iv)MOV D,E
(v)MVI A,A7H
6. (i) Illustrate a program with a flowchart to multiply two 8-bit CO5
BLT 3 Apply
numbers.(7)
13. Describe what is meant by counting, looping and indexing.(13) BLT 1 CO2 Remember
14. (i) Explain briefly about subroutine with example.(7) CO2
BLT 5 Evaluate
(ii) Summarize the operation of stack with suitable example. (6) CO2
PART C
1. Develop an assembly language program based on 8085 CO5
microprocessor instruction set to search the smallest data in a set.(15) BLT 6 Create
(ii) Evaluate the contents of registers A,B, C and D and the flag
status ie (S,Z and CY) as the following instructions are
executed.
MVI A,00H
MVI B, F8H BLT 5 CO1 Evaluate
MOV C,A
MOV D,B
HLT (7)
3. Justify and explain in detail, If the program counter is always one
count ahead of the memory location from which the machine code is
being fetched, how does the microprocessor change the sequence of BLT 5 CO5 Evaluate
program execution with a Jump instruction?(15)
4. Develop a program using the ADI instruction to add two
hexadecimal numbers 3AH and 48H and to display the answer at an CO5
BLT 6 Create
output port.(15)
20. Distinguish between the functions of the instructions XCHG and CO5
BLT 2 Understand
SWAP of 8051.
PART B
1. Describe with a neat block diagram the architecture of 8051 CO4
microcontroller.(13) BLT 1 Remember
2. (i) What are the functional blocks available in 8051? Explain with CO4
a block diagram.(7) BLT 1 Remember
(ii) Describe the operation of stack in 8051.(6) CO4
3. Draw and explain the pinouts of 8051 microcontroller. (13) BLT 3 CO4 Apply
4. Discuss in detail about the memory organization of 8051 CO4
BLT 2 Remember
microcontroller and explain.(13)
5. Design an 8051 based system with 16 K bytes of program ROM and CO4
BLT 6 Create
16 K bytes of data ROM.(13)
6. Explain the I/O ports and their functions of 8051 CO4
microcontroller.(13) BLT 4 Analyze
7. (i) Describe about the interrupt structure of 8051 microcontroller. CO2
(7) BLT 1 Understand
(ii) Describe about the RAM structure of 8051 microcontroller. (6) CO4
8. Explain different timer/counter modes of8051microcontroller. (13) BLT 4 CO4 Analyze
9. Discuss in detail, the hardware and software support provided by CO4
8051 for serial communication. (13) BLT 2 Understand
10. Discuss the addressing modes of 8051 microcontroller with suitable CO1
examples. (13) BLT 2 Understand
11. (i) Illustrate about vectored interrupts in 8051 microcontroller. (7) CO2
(ii) Illustrate with block diagram how to access external memory BLT 3 CO4 Apply
devices in an 8051 based system.(6)
12. (i) Explain the various bit manipulation instructions in 8051 with
examples. (7)
(ii) Explain the following instructions of 8051 micro-controller :
BLT 1 CO5 Remember
(3*2=6)
1. DJNZ Ro, HERE
2. CJNZ @ Ri, #data, rel
3. SWAP A
13. (i)Explain the various program branching instructions available
with 8051 microcontroller. (7) CO5
BLT 1 Remember
(ii) Draw the data memory structure of 8051 microcontroller and
explain. (6)
14. Explain the programming concepts of 8051 in comparison with 8085. CO5
BLT 5 Evaluate
(13)
PART C
1. Describe the timing diagram of external data memory read cycle of CO5
BLT 4 Analyze
8051. (15)
18. What is handshaking? And what are handshake signals? BLT 1 CO3 Remember
19. How a keyboard matrix is formed in keyboard interface using 8279? BLT 6 CO3 Create
20. Explain how wait states can be introduced in the machine cycle CO3
BLT 5 Evaluate
using READY signal to interface slow memory devices?
PART B
1. Explain how the 8255A programmable peripheral interface chip can CO3
be used with the 8085 and 8051 for reading and writing parallel data BLT 5 Evaluate
from and to I/O devices.(13)
2. Explain the architecture, functions and registers of the 8255 BLT 4 CO3
Analyze
PPI.(13)
3. Explain the internal architecture and programming of 8259 CO3
BLT 5 Evaluate
Programmable Interrupt Controller.(13)
4. Discuss how a PIC, 8259 is interfaced to an 8085 and 8051
(i) CO3
based system. (7) BLT 2 Understand
(ii) How does 8259 service an interrupt? (6)
5. Discuss the various modes of operation of the programmable CO3
BLT 2 Understand
interval timer, 8254.(13)
6. (i) Illustrate briefly the block diagram of 8254 timer.(7) BLT 3 CO3 Apply
Describe the working of successive approximation type A/D CO3
(ii) BLT 1
converter.(6) Remember
7. Explain an application of 8255 in the handshake mode with the CO3
BLT 1 Remember
assembly program.(13)
8. With a neat diagram Discuss briefly about the internal architecture CO3
BLT 2 Understand
and registers of 8279 keyboard/ display controller. (13)
9. Explain about the interfacing of an 8 bit A/D converter using CO3
(i)Status check method BLT 1 Remember
(ii)Interrupt method with neat diagram. (13)
10. Explain with neat sketch, the A/D converter interfacing with CO3
(i)
8085 microprocessor.(7)
With sample program explain the interfacing of D/A converter BLT 4 CO3 Analyze
(ii) with 8085 microprocessor. (6)
11. Write the program and Illustrate the operation of 8255 PPI CO3
(i) Port A programmed as input and output in mode 1 with
necessary handshaking signals .(7) BLT 6 Create
Illustrate in detail about parallel communication interface with CO3
(ii) microprocessor and microcontroller.(6)
12. Describe with neat sketch, the A/D converter interfacing with CO3
(i) 8051.(7)
BLT 1 Remember
Explain the interfacing of D/A converter with 8051 CO3
(ii)
microcontroller with neat diagram. (6)
13. (i) Vin=2.25 V, Vref=5V, Number of data lines are 5. Convert CO3
the given analog quantity into its equivalent output digital BLT 1 Remember
quantity.(7)
4. Interface an 8x8 keyboard using 8255 ports and write a program to CO3
BLT 5 Evaluate
read the code of a pressed key. (15)
Simple programming exercises- key board and display interface –Control of servo motor stepper
motor control- Application to automation systems.
PART – A
BT CO
Q. No Questions Competence
Level
1. How is pulse generated from microcontroller for stepper CO6
BLT 5 Evaluate
motor control?
2. State any four applications of microcontroller. BLT 1 CO6 Remember
3. Write an ALP to receive input from port P1.5 and if it is high CO6
BLT 6 Create
then an output 35H is sent to port 0.
4. List the instructions that always clear the carry flag. BLT 1 CO6 Remember
5. LED is connected to pin P0.7, Write an assembly program to CO6
BLT 6 Create
toggle the LED forever.
6. How would you explain the different operand types used in CO6
BLT 1 Remember
8051?
7. Mention the sequence of operation performed by 8051 upon CO6
BLT 3 Apply
execution of CJNE instruction.
8. Deduce the control signals from 8051 microcontroller CO6
BLT 5 Evaluate
required for washing machine control.
9. What is the advantage of data pointer register? BLT 1 CO6 Remember
10. State how to save the status of P2.7 in RAM bit location 31? BLT 4 CO6 Analyze
11. What is baud rate? BLT 1 CO6 Remember
12. Show a block diagram of a closed loop system for the speed CO6
BLT 3 Apply
control of a servo motor.
13. What is multiplexed display? Point out its advantage? BLT 4 CO6 Analyze