Download as pdf
Download as pdf
You are on page 1of 2
Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.vturesource.com uEN 068: Fourth Semester B.E. Degree Examination, December 2011 Microcontrollers Time: 3 brs. mg Man Note: Answer any FIVE full questions, selecting ‘at least TWO questions from each part. ’ PART~A e £1 «Compare CISC and RISC CPU architects. outa i b. Draw the internal block schematic of $051 microcontroller istics. ‘10 Mars) Fc ntertice the external ROM and RAM to $051. Explain nt ais bem. Murs = 2 a 1) What tie necesity ofa fag repiserin a sormerocontole? ii), Which flags of 8051 are affected after the: iil) For what condition the OV flag of 8051 j iv) Can the result of logical AND instruct A? If so, indicate such instructions. 20S0H FACT: aaa 2 Any revealing of ielifialicn,opea to ealutor and fr equtions writen 9, 42-8 and 31. Store P in 32H. a jon the advantages of using subroutines. 48) “Give the address range of instructions SJMP, AIMP, LIMP. i) Mention the differences between RET and RET! instructions Lof2 1 Note; |. On vompling your sae, comply daw dngona cosines om the reting Monk pages import ¥)_ Give two examples of 9-bit rotate, (05 Marks) b, Explain briefly the addressing modes sh an example for each. (06 Maris) ‘Write a program in 8051 to find, ta bytes stored in an array of external RAM at the end of array. (09 Marks) RET (04 Marks) program in 8051 to find the value of P = NVR! using a subroutine which finds f factorial of « given number. The values of N and R are stored in locations 30H (40 Marks) (06 Marts) : BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Vturesource Go Green initiative Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.vturesource.com b. Write an 8051 C program to read the content of port Pl. If it is greater than 200, 250 msec and send the data to port P2, Otherwise wait for 150 msec and port Pp. (06 Maris) ©. Write an 8051 C program to find the checksum byte of data stream 30H, 4AH, 6: 10H. Convert the binary value of checksum into decimal and display the value D digits on ports Po, PI and P2. (10 Marks) PART-B 5 a. What is advantages and disadvantages of Mode-2 operation ‘compared ‘Mode-1 operation? (02 Maris) b. Write an 8051 ALP to generate a square wave of 1 ‘Mode-I operation. Assume crystal frequency as 12 ©. Write an 8051 C program to generate a rectangular pin P12, Assume crystal frequency as 11.0592 pin BB.1 using Timer-1 in jculation. (08 Marks) 2 kHiz with 60% duty eycle in in Mode-1 operation. ‘Show delay calculations. dO Mars) 6 a. Explain the format of asynchronous serial (04 Marks) >. Explain the function of RS232C pins of D] (05 Marts) ‘or “FALSE” serially depending on the OFF, respectively. Assume the crystal ‘bit data and one stop bit format. Show (lo Marks) ‘¢. Write an 8051 ALP to send the message status of a switch connected to pin P22 frequency as 11.0592 MHz. Use delay calculation: 7 a Explain the different i b. How io enable/disable the i c. Write an 8051 C pro; and send it to pin P2.fiq the ing their vector addresses. (06 Marks) {8051 and to set priority for them? Explain, (04 Marks) ly read the status of switch connected to pin P1.2 ‘program and il) generate a square wave of 100 sec period on P2.3 and, racter ‘*’ continuously serially using time and serial interrupt routines, respective! frequency as 11.0592 MHz and 8 bits data, one stop bit 4800 band rate (10 Marks) to 8051 and write an ALP to send the keycode to port Pl, . ‘G0 Marks) to 8051 and vite an ALP to rotate the motor in clockwise RY aps . BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Vturesource Go Green initiative (10 Marks)

You might also like