Advertisement
Buddyarun

MC And MP

May 18th, 2012
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2010
  4. Fourth Semester
  5. Computer Science and Engineering
  6. CS2252 — MICROPROCESSORS AND MICROCONTROLLERS
  7. (Common to Information Technology)
  8. (Regulation 2008)
  9. Time: Three hours Maximum: 100 Marks
  10. Answer ALL Questions
  11. PART A — (10 × 2 = 20 Marks)
  12. 1. Assume that the accumulator contains data bytes 82H and the instruction
  13. MOV C, A (4FH) is fetched. List the steps in decoding and executing the
  14. instruction.
  15. 2. What are the second bytes in the instruction IN and OUT of
  16. 8085 microprocessor?
  17. 3. Draw the 8086 flag register format.
  18. 4. List different types of 8086 hardware interrupts.
  19. 5. Compare closely coupled configuration with loosely coupled configuration.
  20. 6. Mention the need for co-processor in a microprocessor based system.
  21. 7. Can an input port and an output port have the same port address? Justify.
  22. 8. Why is each channel in DMA controller restricted to 16K bytes of data
  23. transfer?
  24. 9. With XTAL = 11.0592 MHz, what value should be loaded into TH1 to have
  25. 9600 baud rate?
  26. 10. How do you select the register bank in 805l microcontroller?
  27. PART B — (5 × 16 = 80 Marks)
  28. 11. (a) (i) Write an 8085 assembly language program with flowchart for the
  29. following: Six bytes are stored in memory locations starting at
  30. XX50H. Add all the data bytes. Use register B to save any carry
  31. generated while adding the data bytes. Store the sum at two
  32. consecutive memory locations, XX70H and XX7IH. Data (H): A2,
  33. FA, DF, E5, 98, 8B. (8)
  34. (ii) Write a program to generate a continuous square wave with the
  35. period of s µ 500 . Assume the system clock period is 325ns and use
  36. bit D0 to output the square wave. (8)
  37. Or
  38. (b) (i) Explain the following 8085 instructions with an example
  39. JP, JPO, CM, RPE. DAA, XCHG. SPHL and PCHL. (8)
  40. (ii) Draw the timing diagram for the instruction
  41. MVI A, 32h and OUT 01h. (8)
  42. 12. (a) (i) Draw the internal block diagram of 8086 microprocessor and
  43. explain. (8)
  44. (ii) Explain any eight assembler directives of 8086 microprocessor. (8)
  45. Or
  46. (b) (i) Give three examples for the following 8086 microprocessor
  47. instructions: String Instructions, Process Control Instructions,
  48. Program Execution Transfer Instructions and Bit Manipulation
  49. Instructions. (12)
  50. (ii) How does one define and Call Macro parameters of 8086
  51. microprocessor? (4)
  52. 13. (a) (i) Draw the internal block diagram of 8087 Co-processor and explain
  53. it with 8087 control word and status word formats. (12)
  54. (ii) Give two examples for packed decimal data transfers and integer
  55. data transfers of an 8087 Co-processor. (4)
  56. Or
  57. (b) Draw the architecture of 8089 I/O Co-processor and explain. (16)
  58. 14. (a) Draw the block diagram of 8279 Keyboard/Display controller and explain
  59. how to interface the Hex Key Pad and 7-segment LEDs using 8279. (16)
  60. Or
  61. (b) (i) Draw the functional block diagram of 8254 timer and explain the
  62. different modes of operation. (8)
  63. (ii) Draw the block diagram of 8259A and explain how to program
  64. 8259A. (8)
  65. 15. (a) (i) Explain the memory structure of an 8051 Microcontroller. (8)
  66. (ii) How does one interface a 16 × 2 LCD Display using 8051
  67. Microcontroller? (8)
  68. Or
  69. (b) (i) Explain the on-chip timer modes of an 8051 Microcontroller. (8)
  70. (ii) Explain how to interface an 8-bit ADC with 8051 Microcontroller.
  71. (8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement