Unit 4

MICROCONTROLLER

Architecture of 8051 – Special Function Registers(SFRs) - I/O Pins Ports and Circuits - Instruction set - Addressing modes - Assembly language programming. 43

Part A

# Question
1 Writethesizeofmemorysystemsusedin8051 microcontroller?
2 Identify the different operand types used in 8051
3 List the counters available in 8051
4 Label the register bank of 8051.
5 Name the number of ports are bit addressable in 8051.
6 Define hardware and software interrupts in 8051.
7 Outline the words the power down mode of 8051.
8 Classify operand addressing mode in 8051.
9 Summarize the place a specific value in the DPTR register.
10 What is meant by PSW in 8051?
11 Examine the features of 16-bit microcontroller.
12 Predict the port used as multifunction port and list the signals.
13 How would you show the addressing modes of 8051?
14 Distinguish between microprocessor & micro controller.
15 Examine the features of 8051 microcontroller.
16 Classify the data types of 8051
17 Assess about SFR available in 8051.
18 Evaluatethesoftwareandhardwareinterruptsof8051? Mention Its vector addresses.
19 Can you elaborate that how the selection of particular register bank is done in 8051?
20 Discuss about any two instruction of data serialization

Part B

# Question
1 Illustrateindetailaboutthearchitectureof8051 microcontroller with neat diagram. (13)
2 Write an ALP using 8051 instructions to receive bytes of data serially and put them in P1. Set the baud rate at 4800, 8-bit data, and 1 stop bit. (13)
3 (i) Give PSW of 8051 and describe the uses of each bit. (6) (ii) Summarize the functions of the following signals in 8051: RST, EA, PSEN and ALE. (7)
4 DescribethememoryorganizationandSFRareaof 8051microcontroller. (13)
5 (i)Demonstrateindetailaboutarithmeticandcontrol instruction set in 8051. (7) (ii) Write a program to bring in data in serial form and send it out in parallel form using 8051. (6)
6 Outline the I/O ports of 8051 microcontroller in detail. (13)
7 (i)Discussinbriefthevariousregistersin8051 microcontroller. (6)
8 (ii)Discusstheinternalmemoryorganizationof8051 microcontroller. (7)
9 Recognizethedifferentaddressingmodesin8051 microcontroller and discuss each mode with an example. (13)
10 (i) Tabulate the comparisons of CALL, RET and PUSH, POP instructions. (7) (ii)Describethefollowing8051instructionswithan example: DA, MUL, SWAP and SJMP. (6)
11 State and explain the working of the 8051 microcontroller. (13)
12 (i) Describe the function of 8051 microcontroller instructions forperformingdatatransferandlogicaloperationswith suitable examples. (7) (ii) Identify the rotate and swap instructions with an example for each. (6)
13 (i) Explain in detail about the SFR's in 8051. (7) (ii) Write an ALP in 8051 to convert a 16 bit binary number to ASCII. (6)
14 Draw the pin diagram of 8051 microcontroller and explain the functions of each bit. (13)
15 Write an 8051 ALP to create a square wave of 66% duty cycle on bit 3 of port 1. (13)