B Tech (ECE-Dual) VIII C Based Embedded System Design S - Out
B Tech (ECE-Dual) VIII C Based Embedded System Design S - Out
4. How many addressing modes are supported by 8051? Explain with example.
5. Make block diagram of 8051 microcontroller and discuss the function of each
block of 8051 microcontrollers.
7. A switch (SW) is connected to pin P2.1. Write a C program to monitor the status
of SW and perform the following:
i) If SW=0, the stepper motor moves counterclockwise.
ii) If SW=1, the stepper motor moves clockwise.
Page 1 of 2
8. In detail, explain the SCON register with the diagram. Also write a program in
assembly language for 8051 to transfer the message “HELLO” serially at 4800
band rate, 8-bit data, 1 stop bit.
9. What is importance of TMOD resister? Write 8051 C program to toggle only bit
P1.5 continuously every 50ms. Use Timer 0, Mode 1 to create the delay.
10. a) Explain interfacing of DAC with 8051 microcontrollers with help of suitable
diagram.
b) Interface 8051 microcontroller with LCD and make circuit diagram. Write C
program for to display ‘AMITY’ on LCD.
Page 2 of 2