List the applications of microcontrollers.
[3 marks]Explain in detail the PSW (program status word) register of 8051.
[4 marks]Discuss the differences between microprocessors and microcontrollers.
[7 marks]Copy the contents of registers R0 to R7 into internal RAM addresses 40H to 47H respectively using PUSH instructions. Assume bank 0 is selected.
[3 marks]Explain how contents of Accumulator and Bregisters can be stored and retrieved from the stack.
[4 marks]What is meant by term “addressing mode”? List addressing modes supported by the 8051 with suitable examples.
[7 marks]Explain Serial Communication in microcontroller.
[7 marks]Find the time required to execute (or delay generated by) the following instructions. Assume crystal frequency is 12 MHz. MOV R0, #249 THERE: NOP NOP DJNZ R0, THERE NOP NOP NOP
[3 marks]Write a program to add three numbers stored at internal RAM address 10H, 11H and 12H and store the lower byte of result into internal RAM address 20H and upper bits into 21H
[4 marks]Explain electromechanical relays. Discuss its interfacing with 8051 microcontrollers.
[7 marks]Explain the difference between RET and RETI instructions.
[3 marks]Explain the difference between LCALL and ACALL for subroutine invocation? Which one is faster in execution and why?
[4 marks]Write a program to multiply two 16 bit numbers and display the result at output PORT1 and PORT2.
[7 marks]List out various data types for 8051 Microcontroller.
[3 marks]Explain the different types of jumps supported by 8051 architecture. Which one is faster in execution and why?
[4 marks]Write a subroutine to a convert 8-bit binary number stored in the Accumulator into an equivalent BCD number. OR1
[7 marks]Assuming that 8 LEDs are connected to port 1, write a Cprogram to flash LEDs 100 times.
[3 marks]Assume that switch SW is connected to P1.7 and LED is connected to P1.0. Write a program that monitors switch SW and when it is pressed, it flashes the LED five times.
[4 marks]Interface a unipolar stepper motor with the 8051 using a suitable driver circuit and write a program to rotate the stepper motor in clockwise direction using full-step sequence.
[7 marks]Explain TMOD register in detail.
[3 marks]Write a program to generate a square wave of 1 KHz frequency on P2.0. Assume crystal frequency = 11.0592 MHz.
[4 marks]Interface 16 x 2 LCD module with the 89C51 and develop a program to display message ‘GTU’ at the beginning of the first line.
[7 marks]What are the ways to increase the baud rate of data transfer in 8051?
[3 marks]Design counter for counting the pulses of an input signal. The pulses to be counted are fed to pin P3.4 assume XTAL = 12 MHz
[4 marks]Assume that switch SW is connected to the pin P2.0 and P1.0 is connected to the input of half-bridge (Point Ain Figure 20.11) and P1.1 is connected to the input of another half-bridge (Point B). Write a program to monitor the status of SW, if SW = 1, rotate the dc motor in a clockwise direction, or if SW = 0, reverse the direction of the motor.
[7 marks]