Você está na página 1de 10

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK EC 1362-MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT-I PART-A 1. 2. 3. 4. 5. 6.

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. 8. Define interfacing. Show the common anode seven segments LED Configuration. How to switch it on and off? 9. 10. 11. 12. 13. 14. 15. 16. Differentiate between software and hardware interrupts. What is interrupt? Name the vectored and non vectored interrupt of 8085 system. What do you mean by timing diagram? Define i) Instruction cycle ii) Machine cycle

Define T-state and In which T-cycle the ALE signal is activated? What do you mean by masking the interrupt? How it is activated in 8085? If a 5 MHz crystal is connected with 8085; what is the value of system clock frequency and one T state.

17. 18. 19. 20. 21.

What is the function of SIM instruction in 8085? What is the significance of I/O Ports? What are the different machine cycles in 8085 Microprocessor? How performance of a microprocessor is measured in terms of MIPS? 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?

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK PART-B 1. 2. 3. 4. 5. Describe the functional pin diagram of 8085. Describe the functional block diagram of 8085. Explain the 8085 interrupt system in detail. Explain various machine cycles supported by 8085. (i) With suitable examples explain how I/O devices are connected using memory mapped I/O and peripheral I/O. (ii) (10) (16) (16) (16) (16)

Design a microprocessor system to interface an 8K 8 EPROM and 8K 8 RAM. (6)

6.

Draw timing diagrams for the following instruction with appropriate control and status signal. Explain in brief. CALL 2000 (16)

7.

(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) (8)

(ii) 8.

Draw the timing diagram of I/O read cycle in 8085 and explain it

Draw and explain the timing diagram of the following instructions of 8085 Microprocessor. (i) (ii) LDA 2050H RET (16)

9.

With necessary diagrams, write short notes on the following (i) (ii) (iii) RAM memory interfacing ROM memory interfacing Interrupt structure of 8085 (16)

10.

(i)

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) (8) (8)

(ii) 11. (i) (ii)

Distinguish peripheral mapped I/O and memory mapped I/O technique Write short notes on vectored interrupts of 8085. Draw the microprocessor Bus timing for the instruction STA 4500h and Explain.

(8)

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK UNIT-II PART-A 1. 2. 3. 4. 5. 6. Show the different instruction formats used in 8085. What is the type of stack used in 8085? What are the different addressing modes of 8085? Define addressing modes. How many addressing modes are available in 8085? The last executable instruction in a procedure must be .. . Explain the following instruction: i) LHLD 8020 ii) XTHL 7. 8. 9. 10. What do you mean by Looping, Counting and Indexing? What is the subroutine? How it is useful? Explain the need of software timers. If the CALL and RET instructions are not provided in the 8085, could it be Possible to write subroutines for this microprocessor? If so how will you call and return from the subroutine? 11. 12. 13. 14. 15. 16. 17. Differentiate cascade stack and memory stack? What is the significance of XCHG and SPHL instructions? Write the operation carried out when 8085 executes RST0 instruction. What is stack? And what is the function of stack pointer? Write the difference between opcode and operand. Write the stack related instructions in 8085 Microprocessor. Compute the execution time of instruction LDA 2050h if the T state duration is 2 s.

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK PART-B 1. 2. 3. Explain the addressing modes of 8085 with example. Explain the Different types of instruction in 8085. i) ii) Write a program to arrange n numbers in ascending order. Write a program to unpack a two digit BCD number stored at memory location 1C00H. 4. Explain the BCD to Decimal code conversion technique and write 8085 assembly language program for the same. 5. Explain the BCD to Seven Segment code conversion technique and write 8085 assembly language program for the same. 6. i) ii) 7. Write a program to calculate the factorial of a number between 0 to 8. (16) (8) (16) (8) (16) (16) (8)

Write a program to find the number of negative, zero and positive numbers. (8) (16)

Explain the operations carried out when 8085 executes the instructions (i) (ii) (iii) (iv) (v) MOV A, M XCHG DAD H DAA POP PSW

8.

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)

9.

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)

10.

(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) (8)

11.

(i) (ii)

Explain the operation of stack in 8085 microprocessor

Explain the sequence of events in the execution of CALL and RET instructions. (8)

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK UNIT-III PART-A 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Write down the function of OBF in 8255. Define PPI. 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. Name any two type of ADCS. For a A/D converter circuit why Vref should be stabilized supply. Which is the fastest ADC and why? What do you mean by Quantization error? What is the difference between A/D and D/A converters? Define the following terms for D/A converters: i) Resolution ii) Accuracy iii) Monotonicity iv) Conversion time 16. 17. 18. 19. 20. 21. What is the necessity of the programmable interval timer? List the features of 8279. Compare parallel and serial type of data transfer. Write the BSR control words to set PC0 and to reset PC4 in 8255. Write the format in which data is transmitted in asynchronous mode by 8251. What is the maximum number of I/O devices that can be connected to 8085 microprocessor using 8259 ICs? 22. 23. 24. What is the bit set reset mode of 8255 PPI? Differentiate cascade stack and Memory Stack? Calculate the values of LSB, MSB and full scale output for 8 bit DAC for 0 to 10 V range. R. Kumudha SL/EEE, REC 5

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK PART-B 1. 2. 3. Explain any one of the modes of 8255 in detail. With neat block diagram explain PPI. i) (16) (16)

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) (16) (6) (6)

4. 5.

With neat block diagram explain the functions of 8259. i) ii) iii) Bring about the features of 8251. Discuss how 8251 is used for serial communication of data. 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. 8.

Explain the 7 segment LED interface with microprocessor. i) Explain the advantages of using the keyboard and display controller chips in microprocessor based system. ii) (6)

Write a program using RST 5.5 interrupt to get an input from keyboard and display it on the display system. (6) (4)

iii) 9. i)

Use RST 5.5 instead of RST 7.5 and change mask pattern accordingly.

Explain the working of 8254 timer and write a program using it to generate a square waveform of period 3 msec. (10)

ii) 10. 11.

Describe with any one of the mode configurations of 8254 timer in detail (6) (16)

Explain how to convert an analog signal into digital signal.

Interface an 8-bit 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) (16)

13.

Discuss various operating modes of 8253 timer with necessary control words

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK UNIT-IV PART-A 1. 2. 3. What is Microcontroller? List the features of 8051 microcontroller. Name any four additional hardware features available in microcontrollers when compared to microprocessors. 4. 5. 6. 7. 8. 9. 10. 11. 12. List out the Hardware Resources available in 8051. When 8051 is reset, all interrupts are disabled. How to enable these interrupts? What is nested interrupts? How will you double the baud rate in 8051? Explain software and hardware methods to start and stop timers in 8051. Give steps to program 8051 for serial data transfer. Write short notes on interrupt priority. Write the vector address and priority sequence of 8051 interrupts? Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal frequency. 13. 14. 15. 16. 17. What is the function of ITX bit in the TCON register of 8051? What is the function of SM2 bit in the SCON register of 8051? What are the different addressing modes of Microcontroller 8051? Name the interrupts available in Microcontroller 8051. 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.

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK PART-B 1. 2. Describe the architecture of 8051 with neat diagram. i) ii) Discuss the peripheral interface of 8051. (16) (8)

Explain the interrupt structure of 8051 microcontroller Explain how interrupts are prioritized. (8) (8) (8) (8) (8) (8) (8) (8) (8)

3.

i) ii)

What is the difference between the Microprocessors and Microcontrollers? Explain the I/O port structure of 8051. Explain the different serial communication modes in 8051. Explain the memory structure of 8051.

4.

i) ii)

5. 6. 7.

States various modes available for timer in 8051. Explain the functional pin diagram of 8051 Microcontroller. (i) (ii) Explain the different addressing modes in 8051 in detail Describe the different modes of operation of timers in 8051.

8.

Explain the Timer/Counter functional unit of Microcontroller 8051 with relevant diagrams. (16)

9.

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) (8)

10. 11.

Explain the different serial communication modes in 8051.

Write 8051 ALP to transmit Hello World to PC at 9600 baud for external crystal frequency of 11.0592 MHz. (8)

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK UNIT-V PART-A 1. 2. 3. 4. 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. 6. 7. 8. 9. 10. Explain PUSH and POP instructions in 8051. What are the instructions used to access external RAM. What is key bounce? How it is achieved? Explain DAA instruction of 8051. Explain rotate instructions of 8051. Give the PSW setting for masking register bank 2 as default register bank in 8051 Microcontroller? 11. What is the operation carried out when 8051 executes the instruction MOVC A, @A + DPTR? 12. 13. 14. 15. How keyboard debouncing is done by software? Name any four bit manipulation instructions in Microcontroller 8051. How can you perform multiplication using 8051 Microcontroller? Write a delay routine for 1 millisecond using timer 0 of 8051 for 12 MHz crystal frequency. 16. Write the vector address and priority sequence of 8051 interrupts?

R. Kumudha SL/EEE, REC

EC 1362-MICROPROCESSORS AND MICROCONTROLLERS - QUESTION BANK 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. 2. (16)

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) (8) (8) (8) (8)

4.

i) ii)

Explain addition and subtraction instructions of 8051. Explain various types of jump instructions according to range. Write a 8051 ALP to find Fibonacci series of N given numbers. Write a 8051 ALP to find the average of given N numbers.

5.

i) ii)

6.

Explain the operations carried out when the following instructions are executed by 8051. (i) (ii) (iii) (iv) (v) (vi) MOVX @R0,A MOVC A, @A + PC RLC A CJNE A, 50H, L2 JBC 20H, L3 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) (16) (16)

8. 9.

Explain the 4 X 4 Keyboard interfacing with Microcontroller 8051. Explain the Microcontroller 8051 based Stepper motor control.

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

R. Kumudha SL/EEE, REC

10

Você também pode gostar