Vous êtes sur la page 1sur 11

R.S.KARTHIC.B.E.,M.Tech.

, HOD/ECE

EC1301 MICROPROCESSORS AND MICROCONTROLLERS QUESTIONBANK UNIT I 8085 MICROPROCESSOR PARTA What is the need for ALE signal in 8085 microprocessor? How many machine cycles are needed to execute STA 1800? What is the need for interfacing? Compare memory mapped I/O and peripheral mapped I/O. State the disadvantages of memory mapped I/O scheme. What are the requirements to be met while interfacing I/O devices to Microprocessor / microcontroller? 7. Define interfacing. 8. Show the common anode seven segments LED Configuration. How to switch it on and off? 9. Differentiate between software and hardware interrupts. 10. What is interrupt? 11. Name the vectored and non vectored interrupt of 8085 system. 12. What do you mean by timing diagram? 13. Define i) Instruction cycle ii) Machine cycle 14. Define Tstate and In which Tcycle the ALE signal is activated? 15. What do you mean by masking the interrupt? How it is activated in 8085? 16. If a 5 MHz crystal is connected with 8085; what is the value of system clock frequency and one T state. 17. What is the function of SIM instruction in 8085? 18. What is the significance of I/O Ports? 19. What are the different machine cycles in 8085 Microprocessor? 20. How performance of a microprocessor is measured in terms of MIPS? 21. A microprocessor takes n s is for executing as instruction. What design change will make the microprocessor to execute the same instruction in n/2 s? 22. Show the different instruction formats used in 8085. 23. What is the type of stack used in 8085? 24. What are the different addressing modes of 8085? 25. Define addressing modes. How many addressing modes are available in 8085? 26. The last executable instruction in a procedure must be .. . 27. Explain the following instruction: i) LHLD 8020 ii) XTHL 28. What do you mean by Looping, Counting and Indexing? 29. What is the subroutine? How it is useful? 30. Explain the need of software timers. 31. If the CALL and RET instructions are not provided in the 8085, could it be Possible to 1. 2. 3. 4. 5. 6. EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

write subroutines for this microprocessor? If so how will you call and return from the subroutine? Differentiate cascade stack and memory stack? 32. What is the significance of XCHG and SPHL instructions? 33. Write the operation carried out when 8085 executes RST0 instruction. 34. What is stack? And what is the function of stack pointer? 35. Write the difference between opcode and operand. 36. Write the stack related instructions in 8085 Microprocessor. 37. Compute the execution time of instruction LDA 2050h if the T state duration is 2 s.

PART - B 1. 2. 3. 4. Describe the functional pin diagram of 8085. (16) Describe the functional block diagram of 8085. (16) Explain the 8085 interrupt system in detail. (16) Explain various machine cycles supported by 8085. (16) i) With suitable examples explain how I/O devices are connected using memory mapped I/O and peripheral I/O. (10) (ii) Design a microprocessor system to interface an 8K 8 EPROM and 8K 8 RAM. (6) 5. Draw timing diagrams for the following instruction with appropriate control and status signal. Explain in brief. CALL 2000 (16) 6. (i) Interface a 8KX8 EPROM IC and 2KX8 RAM IC with 8085 such that the starting address assigned to them are 0000H and 4000H respectively using address decoder having NAND gate and inverters (8) (ii) Draw the timing diagram of I/O read cycle in 8085 and explain it (8) 7. Draw and explain the timing diagram of the following instructions of 8085 Microprocessor. (i) LDA 2050H (ii) RET (16) 8. With necessary diagrams, write short notes on the following (i) RAM memory interfacing (ii) ROM memory interfacing (iii) Interrupt structure of 8085 (16) 9. Using peripheral mapped I/O, design a seven segment LED output port with device address of F2h using necessary control ICs. Draw the schematic and write 8085 ALP for displaying digit 8. (8) 10. Distinguish peripheral mapped I/O and memory mapped I/O technique (8) 11. Write short notes on vectored interrupts of 8085. (8) 12. Draw the microprocessor Bus timing for the instruction STA 4500h and Explain. (8) 13. Explain the addressing modes of 8085 with example. (16) 14. Explain the Different types of instruction in 8085. (16) EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

15. i) Write a program to arrange n numbers in ascending order. (8) ii) Write a program to unpack a two digit BCD number stored at memory location 1C00H. (8) 16. Explain the BCD to Decimal code conversion technique and write 8085 assembly language program for the same. (16) 17. Explain the BCD to Seven Segment code conversion technique and write 8085 assembly language program for the same. (16) 18. i) Write a program to calculate the factorial of a number between 0 to 8. (8) ii) Write a program to find the number of negative, zero and positive numbers. (8) 19. Explain the operations carried out when 8085 executes the instructions (16) (i) MOV A, M (ii) XCHG (iii) DAD H (iv) DAA (v) POP PSW 20. Write 8085 assembly language program to find the seven segment codes for the lower and upper nibble of the given 8 bit binary number using look up table technique and store the result in memory. (16) 21. Write 8085 Assembly language program to perform the following ab + ac, where a, b and c are 8 bit binary numbers. Explain with algorithm and flowchart. (16) 22. (i) Write 8085 ALP to perform 16 bit addition of 2 numbers from location 4100h and 4102h using 16 bit move and arithmetic instructions and save the result from the next memory location. (8) (ii)With suitable example explain the various addressing modes used in the instruction set of 8085 microprocessor. (8) 23. (i) Explain the operation of stack in 8085 microprocessor (8) (ii) Explain the sequence of events in the execution of CALL and RET instructions. (8)

UNIT II
PERIPHERALS INTERFACING OF 8085
PART - A 1. 2. 3. 4. 5. 6. 7. 8. Write down the function of OBF in 8255. Bring about the features of 8259. Explain the advantages of PIC chips in microprocessor based systems. Explain the working of receiver part of USART. What is key debouncing? How much current is needed to drive an LED? Draw a typical driver circuit for it? What is the count value needed to program the 8254 to generate a delay of 1 ms? Draw and explain the operation of a sample and hold circuit. EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

9. Name any two type of ADCS. 10. For a A/D converter circuit why Vref should be stabilized supply. 11. Which is the fastest ADC and why? 12. What do you mean by Quantization error? 13. What is the difference between A/D and D/A converters? 14. Define the following terms for D/A converters: i) Resolution ii) Accuracy iii) Monotonicity iv) Conversion time 15. What is the necessity of the programmable interval timer? 16. List the features of 8279. 17. Compare parallel and serial type of data transfer. 18. Write the BSR control words to set PC0 and to reset PC4 in 8255. 19. Write the format in which data is transmitted in asynchronous mode by 8251. 20. What is the maximum number of I/O devices that can be connected to 8085 microprocessor using 8259 ICs? 21. What is the bit set reset mode of 8255 PPI? 22. Differentiate cascade stack and Memory Stack? 23. Calculate the values of LSB, MSB and full scale output for 8 bit DAC for 0 to 10 V range. 24. Name the two modes of operation of DMA controller? 25. List the operating modes of 8253 timer. 26. Give the control word format of timer? 27. What is the use of USART? 28. Compare serial and parallel communication. 29. What is the use of Keyboard and display controller? 30. What are the functions performed by 8279? 31. What is PPI? 32. Give the control word format for I/O mode of 8255? 33. Give the BSR mode format of 8255. 34. What is the need for interrupt controller? 35. What are the registers present in 8259? 36. What are the applications of 8253? 37. Define interrupts. 38. Define DMA process. 39. Give the status word format of 8257. 40. What are the types of serial data communication? 41. What is baud rate? 42. What is USART? 43. What are the features of 8279? 44. List some of the features of INTEL 8259 (Programmable Interrupt Controller) EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

45. What are the control words of 8251A and what are its functions ? 46. What are the display modes supported by the 8279 chip? 47. Name any two coprocessors and their use. 48. Give the format of program clock word of 8279 and mention its purpose. 49. Mention any two coprocessors and their use. 50. What is 2 key lockout and n key roolover? 51. Name the two types of CRT display systems. 52. What do you mean by leading edge and trailing edge problems in hexadecimal keyboards? 53. State any two main functions of a CRT controller

PART -B
1. Explain any one of the modes of 8255 in detail. (16) 2. With neat block diagram explain PPI. (16) 3. i) Using model, write a program to communicate between two microprocessors using 8255. (10) ii) Show the control word format of 8255 and explain how each bit is programmed. (6) 4. With neat block diagram explain the functions of 8259. (16) 5. i) Bring about the features of 8251. (6) ii) Discuss how 8251 is used for serial communication of data. (6) iii) Explain the advantages of using the USART chips in microprocessor based systems.(4) 6. Design an interface circuit needed to connect DIP switch as an input device and display the value of the key pressed using a 7 segment LED display. Using 8085 system, write a program to implement the same. (16) 7. Explain the 7 segment LED interface with microprocessor. 8. i) Explain the advantages of using the keyboard and display controller chips in microprocessor based system. (6) ii) Write a program using RST 5.5 interrupt to get an input from keyboard and display it on the display system. (6) iii) Use RST 5.5 instead of RST 7.5 and change mask pattern accordingly. (4) 9. i) Explain the working of 8254 timer and write a program using it to generate a square waveform of period 3 msec. (10) ii) Describe with any one of the mode configurations of 8254 timer in detail (6) 10. Explain how to convert an analog signal into digital signal. (16) 11. Interface an 8bit DAC with 8085 microprocessor using 8255 and write assembly language programs to generate square wave of 1 KHZ and triangular wave of 100 Hz. The crystal frequency connected to 8085 is 6 MHz. (16) 12. With necessary diagrams explain the interfacing of Analog to Digital converter with microprocessor 8085. (16) EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

13. Discuss various operating modes of 8253 timer with necessary control words (16) 14. Draw the Block diagram and explain the operations of 8251 serial communication interface. (16) 15. Draw the Block diagram of 8279 and explain the functions of each block. (16) 16. Draw the block diagram of programmable interrupt controller and explain its operations.(16) 17. Discuss in detail about the operation of timer along with its various modes. (16) 18. Draw the Block diagram of DMA controller and explain its operations. 19. Explain the 8279 keyboard and display controller with a neat sketch. 20. Describe the architecture and working of 8253 timer

UNIT III
8086 MICROPROCESSOR

PART-A
1. How many memory locations are available in 8086 microprocessor? 2. What are the flags available in 8086 microprocessor? 3. What are the general purpose registers in 8086? 4. What are the functional units in 8086? 5. What is the purpose of BIU? 6. What is the purpose of EU? 7. What is the purpose of segment register? 8. What are the segment registers in 8086? 9. What is the function of IP? 10. What is the function of control unit? 11. What is the use of base pointer register? 12. Mention the index registers of 8086. 13. What are the flags in 8086? What are the various interrupts in 8086? 14. What is meant by Maskable interrupts? 15. What is Non-Maskable interrupts? 16. Which interrupts are generally used for critical events 17. Give examples for Maskable interrupts? 18. Give example for Non-Maskable interrupts? 19. What is the Maximum clock frequency in 8086? 20. What are the various segment registers in 8086? 21. Which Stack is used in 8086 22. What are the address lines for the software interrupts? 23. What are the address lines for the hardware interrupts? EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

24. Which Segment is used to store interrupt and subroutine return address registers? 25. Which Flags can be set or reset by the programmer and also used to control the operation of the processor? 26. What is SIM and RIM instructions? 27. Which is the tool used to connect the user and the computer? 28. What is the position of the Stack Pointer after the PUSH instruction? 29. What is the position of the Stack Pointer after the POP instruction? 30. Logic calculations are done in which type of registers? 31. What are the different functional units in 8086? 32. Give examples for Micro controller What is meant by cross-compiler? 33. What is the purpose of CLK signal in an 8086 system? 34. Differentiate the operating modes of 8086 processor? 35. What is a segment override prefix? Give an example. 36. What is the use of LATCH signal on the data lines? 37. What is the need for MN/MX pin in 8086 system? 38. What is the purpose of QUEUE in 8086 processor? 39. Give the operation of CBW and TEST instructions of 8086? 40. List few string instructions of 8086? 41. What is the use of LOCK prefix? 42. What is the purpose of REP prefix? 43. What are assembler directives? 44. What are the advantages of ALP? 45. Define a MACRO? 46. What is MACRO expansion? 47. What are the types of Multiprocessor configuration? 48. What is Co-processor?

PART-B
1. Draw the block diagram of 8086 mp and explain? (12) 2. Explain the architecture of Intel 8086 with the help of a block diagram? (12) 3. Describe the sequence of event that may occur during the different T state in the opcode fetch machine cycle of 8086? (8) 4. List out the maskable and non maskable interrupts available in 8086? (6) 5. Explain the Maximum mode of operation of 8086. (12) 6. Write short notes on addressing memory. (4) 7. Explain the minimum mode of operation of 8086. (12) 8. Write notes on addressing input and output devices? (4) EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

9. Design an 8086 based system in minimum mode containing 64kb of EPROM and64kb of RAM (12) 10. Give the functions of NMI, BHE and TEST pins of 8086? (4) 11. Explain the various multiprocessor configurations. (16) 12. Discuss in detail the various signal of 8086. (10) 13. Explain in detail about 8086 memory banks and associated signals for byte and word operations. (6) 14. Write an assembly language program to add two 2-digits BCD Number? (4) 15. Explain the instruction set of 8086? (10) 16. Write notes on status flag? (6) 17. Explain the similarities diff b/w subtract and compare instructions in 8086 18. Write an assembly language program to convert on array of ASCII code to corresponding binary (hex) value. The ASCII array is stored starting from 4200H.The first element of the number of elements in the array. (8) 19. Explain addressing modes of 8086? (10) 20. Write an ALP to Add two 8 bit numbers? (4) 21. How do the instructions of 8086 is classified based on their function and word length? Give an example? (8) 22. Explain the 8086 Bit Manipulation instructions with an example for each. (6) 23. Write an 8086 program to convert BCD Data to Binary Data. (8) Explain the Relative addressing mode and the Implied addressing mode with its syntax. Use an example. (8)

UNIT IV 8051 MICROCONTROLLER


PART A
1. What is Microcontroller? 2. List the features of 8051 microcontroller. 3. Name any four additional hardware features available in microcontrollers when compared to microprocessors. 4. List out the Hardware Resources available in 8051. 5. When 8051 is reset, all interrupts are disabled. How to enable these interrupts? 6. What is nested interrupts? 7. How will you double the baud rate in 8051? 8. Explain software and hardware methods to start and stop timers in 8051. 9. Give steps to program 8051 for serial data transfer. 10. Write short notes on interrupt priority. 11. Write the vector address and priority sequence of 8051 interrupts? 12. Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal frequency. EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

13. What is the function of ITX bit in the TCON register of 8051? 14. What is the function of SM2 bit in the SCON register of 8051? 15. What are the different addressing modes of Microcontroller 8051? 16. Name the interrupts available in Microcontroller 8051. 17. Give the PSW setting for making register bank 2 as default register bank in 8051 Microcontroller? 18. Calculate the reload value of timer 1 for achieving a baud rate of 4800 in 8051 for a crystal Frequency of 11.0592 MHz. (ii)Describe the architecture of 8051 with neat diagram. (16) 19. i) Discuss the peripheral interface of 8051. (8) ii) Explain the interrupt structure of 8051 microcontroller Explain how interrupts are prioritized.(8) 20. i) What is the difference between the Microprocessors and Microcontrollers? (8) ii) Explain the I/O port structure of 8051. (8) 21. i) Explain the different serial communication modes in 8051. (8) ii) Explain the memory structure of 8051. (8) 22. States various modes available for timer in 8051. (8) 23. Explain the functional pin diagram of 8051 Microcontroller. (8) 24. (i) Explain the different addressing modes in 8051 in detail (8) (ii) Describe the different modes of operation of timers in 8051. (8) 25. Explain the Timer/Counter functional unit of Microcontroller 8051 with relevant diagrams.(16) 26. Write 8051 ALP to read data from port 1 when negative edge triggered at INT0 and supply the data to port 2 by masking the upper 4 bits. (8) 27. Explain the different serial communication modes in 8051. (8) 28. Write 8051 ALP to transmit Hello World to PC at 9600 baud for external crystal frequency of 11.0592 MHz. (8) 29. Explain the instructions used to access external RAM. 30. List the features of 8051 microcontroller. 31. 6. Explain the interrupts of 8051 microcontroller

PART- B
1. 2. 3. 4. 5. 6. 7. 8. With neat sketch explain the architecture of 8051 microcontroller. (16) Draw the Pin Diagram of 8051 and explain the function of various signals. (16) List the various Instructions available in 8051 microcontroller. (16) Explain the memory structure of 8051 (16) Explain the I/O port structure of 8051. (16) Draw the pin configuration of 8051, explain each pin. Explain the instruction set of 8051. (16) Draw the format of SCON register. Explain different bits in it. (16) EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

9. Write an assembly language program to find Fibonacci Series of N given term. (16) 10. Write an assembly language program for stepper motor control. 11. How keyboard debouncing is done by software? 12. Name any four bit manipulation instructions in Microcontroller 8051. 13. How can you perform multiplication using 8051 Microcontroller? 14. Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal frequency. 15. Write the vector address and priority sequence of 8051 interrupts?

10

UNIT V 8051 PROGRAMMING AND APPLICATIONS


What is the time taken to execute MUL instruction in 8051? What is the jump range? Explain the addressing modes of 8051. Identify the addressing mode used by each of the following instruction. i) MOV A, R4 ii) MOVC A, @A+DPTR iii) SWAP A iv) MOV A, #30H 5. Explain PUSH and POP instructions in 8051. 6. What are the instructions used to access external RAM. 7. What is key bounce? How it is achieved? 8. Explain DAA instruction of 8051. 9. Explain rotate instructions of 8051. 10. Give the PSW setting for masking register bank 2 as default register bank in 8051Microcontroller? 11. What is the operation carried out when 8051 executes the instruction MOVC A, @A 12. How is the microcontroller used for the traffic light control application? 13. Differentiate microprocessor from microcontroller in system design. 14. What are the design considerations for washing machine control? 15. What are the advantages of 8051 microcontroller in washing machine control? 16. How is stepper motor interfaced with microcontroller? 17. What is I2C? 17. What is the function of program counter in 8051? 18. Write about the jump statement? 19. Write about CALL statement in 8051. 20. Explain the operating mode0 of 8051 serial ports 21. Explain the operating mode2 of 8051 serial ports. 22. Explain the mode3 of 8051 serial ports. 1. 2. 3. 4.

EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

R.S.KARTHIC.B.E.,M.Tech., HOD/ECE

PART - B
1. With a neat circuit diagram explain how a 4 x 4 keypad is interfaced with 8051 microcontroller and write 8051 ALP for keypad scanning. (16) 2. Draw the schematic for interfacing a stepper motor with 8051 microcontroller and write 8051 ALP for changing speed and direction of motor. (16) 3. Draw the schematic for interfacing a servo motor with 8051 microcontroller and write 8051 ALP for servo motor control. (16) 4. i) Explain addition and subtraction instructions of 8051. (8) ii) Explain various types of jump instructions according to range. (8) 5. i) Write a 8051 ALP to find Fibonacci series of N given numbers. (8) ii) Write a 8051 ALP to find the average of given N numbers. (8) 6. Explain the operations carried out when the following instructions are executed by 8051. (i) MOVX @R0,A (ii) MOVC A, @A + PC (iii) RLC A (iv) CJNE A, 50H, L2 (v) JBC 20H, L3 (vi) XCH A, 30H where L2 and L3 are labels. (16) 7. Interface a 20 x 2 LCD with 8051 micro controller and write assembly language program to display the following message in it at the middle. HELLO ! ALL ARE WELCOME (16) 8. Explain the 4 X 4 Keyboard interfacing with Microcontroller 8051. (16) 9. Explain the Microcontroller 8051 based Stepper motor control. (16) 10. Explain how microcontrollers and microprocessors can be used for the washing machine control application. Use sketches. 11. Explain with a neat sketch how microcontrollers and microprocessors can be used for the stepper motor control application. 12. Explain in the detail the process involved in the design of traffic light controller with example.

11

****************************
ALL THE BEST

EC1301 MICROPROCESSORS AND MICROCONTROLLERS ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY

Vous aimerez peut-être aussi