Assignment No. 2 1. Write all the Instruction set of 8051 Microcontroller. Assignment No. 3 1. 2. 3. 4. 5. Draw & explain block diagram of internal architecture of 8051. Draw Pin diagram of 8051 &explain function and alternate function of pins. Explain reset circuit of 8051. Explain the internal program and data memory organization. Explain the Registers: 1) PC 2) DPTR 3) A&B 4) PSW 5) Stack and stack pointer register. 6. Describe the dual role of port 0 in 8051 microcontroller. 7. Explain the Timer/counter control logic and interrupts. 8. Draw the format and explain each bit of TMOD and TCON SFR. 9. Explain the four Timer modes of operation. 10. What are the Interrupt sources of 8051? 11. Draw the format and explain each bit of IE and IP SFR. 12. Write a short note on Interrupt priorities. 13. Compare 8051 microcontroller and 8052 Microcontroller. Assignment No. 4 1. 2. 3. 4. Define: 1) Opcode 2) Operand 3) label 4)comment State and explain the assembler directives. State and explain the addressing modes of 8051 with one example each. Develop assembly language programs for the Addition, subtraction of two 8 bit &16 bit signed/unsigned numbers. 5. Develop assembly language programs for the Multiplication and division on two 8 bit unsigned numbers. 6. Develop assembly language programs to find largest and smallest number integer of an array. 7. Develop assembly language programs to find average of 8-bit numbers. 8. Develop assembly language programs for Bubble sorting (i.e. ascending/descending). 9. Develop assembly language programs for data transfer from one location to other. 10. Develop assembly language programs for programmable delay generation. 11. Write a assembly language program to generate a square wave of 1KHz at P1.2 of 8051.Use timer 0 of microcontroller. Assume crystal frequency = 12MHz. 12. Write a Simple assembly language program for demonstrating interrupt service. 13. Develop assembly language program to measure time period of a square wave using counter. 14. Develop any assembly language Program to demonstrate use of subroutine. Assignment No. 5 1. Draw & explain interfacing diagram for temperature measurement using LM35, ADC 0808 with 8051 microcontroller. Draw flowchart for measurement of temperature using above interfacing diagram. 2. Draw & explain interfacing diagram for relay with 8051 microcontroller. Draw flowchart for above interfacing diagram. 3. Draw & explain interfacing diagram for relay with 8051 microcontroller. Draw flowchart for above interfacing diagram. 4. Draw & explain interfacing diagram for DC motor speed control with 8051 microcontroller. Draw flowchart for above interfacing diagram. 5. Draw & explain interfacing diagram for Stepper motor control with 8051 microcontroller. Draw flowchart for above interfacing diagram. 6. Draw & explain interfacing diagram for Servo motor control with 8051 microcontroller. Draw flowchart for above interfacing diagram. 7. Draw & explain neat interfacing diagram of3*3 key matrix key board. 8. Draw & explain the interfacing diagram of 7 segment display in multiplexed mode. 9. Draw & explain interfacing diagram for LCD with 8051 microcontroller. 10. State the all pin functions of 20X4 LCD display. 11. Draw & explain interfacing of 8-channel, 8 bit parallel ADC 0809 with 8051 microcontroller. 12. Draw & explain interfacing of MAX 1112 serial ADC with 8051 microcontroller. 13. Draw & explain interfacing of 8 bit DAC 0808 with 8051 microcontroller. 14. Explain the serial port registers:1) SCON 2) SBUF 3) SMOD 15. Define baud rate in UART of 8051.Write the function of SMOD for baud rate. 16. Write ‘C’ language program to transfer the message “HELLO” serially at baud rate 4800, 1 start bit, 8 bit data, 1 stop bit. Assume Crystal frequency 11.0592MHz. Assignment No. 6 1. 2. 3. 4. 5. 6. 7. State & explain the C data types with their value range. Write C language program to toggle all bits of P1 continuously. Write C language program to toggle single bit of P1 continuously. Write C language program to bit wise shift data left. Write C language program to bit wise shift data right. Write C language program for addition of array elements. Write C language program for read input port and send hex data to the output port.