Sunteți pe pagina 1din 3

B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2010.

Fourth Semester Computer Science and Engineering CS2252 - MICROPROCESSORS AND MICRO CONTROLLERS (Common to Information Technology) (Regulation 2008)
Time: Three hours Maximum:100 marks Answer ALL Questions. PART A- (10 X 2= 20 marks)

1. Assume that the accumulator contains data types 82H and the instruction MOV C, A (4FH) is fetched. List the steps in encoding and executing the instruction. 2. What are the second bytes in the instruction IN and OUT of 8085 microprocessor? 3. Draw the 8086 flag register format. 4. List different types of 8086 hardware interrupts. 5. Compare closely coupled configuration with loosely coupled configuration. 6. Mention the need for co- processor in a microprocessor based system. 7. Can an input port and an output port have the same port address? Justify. 8. Why is each channel in DMA controller restricted to 16K bytes of data transfer? 9. With XTAL = 11.0592 MHz, what value should be loaded into TH1 to have 9600 baud rate? 10. How do you select the register bank in 8051 micro-controller?

PART B- (5 X 16 = 80 Marks)

11. (a) (i) Write an 8085 assembly language program with flowchart for the following: Six bytes are stored in memory locations starting at XX50H. Add all the data bytes. Use register B to save any carry generated while adding the data bytes. Store the sum at two consecutive memory locations, XX70H and XX71H. Data (H): A2, FA, DF, E5, 98, 8B. (8 Marks) (ii) Write a program to generate a continuous square wave with the period of 500 microseconds. Assume the system clock period is 325ns and use bit D0 to output the square wave. (8 Marks) (Or) (b) (i) Explain the following 8085 instructions with an example JP, JPO, CM, RPE, DAA, XCHG, SPHL and PCHL. (8 Marks) (ii) Draw the timing diagram for the instruction MVI A, 32h and OUT 01h. (8 Marks) 12. (a) (i) Draw the internal block diagram of 8086 microprocessor and explain. (8 Marks) (ii) Explain any eight assembler directives of 8086 microprocessor. (8 Marks) (Or)

(b) (i) Give three examples for the following 8086 microprocessor instructions: String Instructions, Process Control Instruction, Program Execution Transfer Instructions and Bit manipulation Instructions. (12 Marks) (ii)How does one define and call macro parameters of 886 microprocessor? (4 Marks) 13. (a) (i) Draw the internal block diagram of 8087 Co- processor and explain it with 8087 control word and status word formats. (12 Marks) (ii) Give two examples for packed decimal data transfers and integer data transfers of an 8087 coprocessor. (4 Marks) (Or) (b) Draw the architecture of 8089 I/O co- processor and explain. (16 Marks) 14. (a) Draw the block diagram of 8279 keyboard/ Display controller and explain hoe to interface the Hex Key pad and 7- segment LEDs using 8279. (16 Marks) (Or) (b) (i) Draw the functional block diagram of 8254 timer and explain the different modes of operation. (8 Marks) (ii) Draw the block diagram of 8259A and explain how to program 8259A. (8 Marks) 15. (a) (i) Explain the memory structure of an 8051 Micro-controller. (8 Marks) (ii) How does one interface a 16 X 2 LCD Display using 8051 Micro-controller? (8 Marks) (Or) (b) (i) Explain the on- chip timer modes of an 8051 Micro-controller. (8 Marks) (ii) Explain how interface an 8- bit ADC with 8051 Micro-controller. (8 Marks) B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2011 Fourth Semester Computer Science and Engineering CS 2252 MICROPROCESSORS AND MICROCONTROLLERS (Common to Information Technology) (Regulation 2008) Time : Three hours Maximum : 100 marks Answer ALL questions PART A (10 2 = 20 marks) 1. What is a flag? Give a note on the use of auxiliary carry flag. 2. State the role of RESETIN and RESETOUT signals in 8085 processor. 3. List out the pin details other than address pins and data pins.

4. What are Assembler directives? Give an example. 5. How does co-processor identify the instructions meant for it? 6. Name the signals used by the processor to communicate with an I/O processor. 7. State the use of cascading signals of 8259 programmable interrupt controller. 8. Name the sensors used in a microprocessor based temperature controller. 9. What are the advantages of using a microcontroller in place of a microprocessor? 10. Mention any two applications that uses ADC and DAC. Question Paper Code : 11256 132 132 132 11256 2 PART B (5 16 = 80 marks) 11. (a) (i) Explain the classifications of 8085 instructions based on its functions. (10) (ii) Write an ALP to find the largest number in the given series of 10 data using 8085. (6) Or (b) (i) Explain the classifications of 8085 instructions based on its word length. (10) (ii) Write an ALP to move a block of data from location 5000 H to 8000 H using 8085. (6) 12. (a) Explain the functions of an 8086 processor in the maximum mode. (16) Or (b) Explain any 8 addressing modes of 8086 processor with an example. (16) 13. (a) Explain the salient features of 8087 co-processor units in architectural diagram. (16) Or (b) Draw the architecture of 8089 I/O processor and explain its functionalities. (16) 14. (a) Explain in detail about the 8257 DMA controller with a neat block diagram. (16) Or (b) Explain in detail about interfacing a temperature controller with a microprocessor. (16) 15. (a) (i) Explain the features of 8051 microcontroller and compare it with 8086 microprocessor. (8) (ii) Write short notes on register set of 8051 micro controller. (8) Or (b) Explain, with a help of a neat block diagram how DAC is interfaced with 8051 Micro controller. (16)

S-ar putea să vă placă și