Wednesday 8 May 2013

CS2252 MICROPROCESSORS AND MICROCONTROLLERS QUESTION PAPERS

B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2010
Fourth Semester
Computer Science and Engineering
CS2252 — 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. Assume that the accumulator contains data bytes 82H and the instruction
MOV C, A (4FH) is fetched. List the steps in decoding 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 805l microcontroller? PART B — (5 × 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 XX7IH. Data (H): A2, FA, DF, E5, 98, 8B. (8) (ii) Write a program to generate a continuous square wave with the period of s µ 500 . Assume the system clock period is 325ns and use bit D0 to output the square wave. (8) Or (b) (i) Explain the following 8085 instructions with an example JP, JPO, CM, RPE. DAA, XCHG. SPHL and PCHL. (8) (ii) Draw the timing diagram for the instruction MVI A, 32h and OUT 01h. (8) 12. (a) (i) Draw the internal block diagram of 8086 microprocessor and explain. (8) (ii) Explain any eight assembler directives of 8086 microprocessor. (8) Or (b) (i) Give three examples for the following 8086 microprocessor instructions: String Instructions, Process Control Instructions, Program Execution Transfer Instructions and Bit Manipulation Instructions. (12) (ii) How does one define and Call Macro parameters of 8086 microprocessor? (4) 13. (a) (i) Draw the internal block diagram of 8087 Co-processor and explain it with 8087 control word and status word formats. (12) (ii) Give two examples for packed decimal data transfers and integer data transfers of an 8087 Co-processor. (4) Or (b) Draw the architecture of 8089 I/O Co-processor and explain. (16) 14. (a) Draw the block diagram of 8279 Keyboard/Display controller and explain how to interface the Hex Key Pad and 7-segment LEDs using 8279. (16) Or (b) (i) Draw the functional block diagram of 8254 timer and explain the different modes of operation. (8) (ii) Draw the block diagram of 8259A and explain how to program 8259A. (8) 15. (a) (i) Explain the memory structure of an 8051 Microcontroller. (8) (ii) How does one interface a 16 × 2 LCD Display using 8051 Microcontroller? (8) Or (b) (i) Explain the on-chip timer modes of an 8051 Microcontroller. (8) (ii) Explain how to interface an 8-bit ADC with 8051 Microcontroller. (8)

CS2252 MICROPROCESSORS AND MICROCONTROLLERS APRIL/MAY 2011  ANNA UNIVERSITY QUESTION PAPER QUESTION BANK IMPORTANT QUESTIONS 2 MARKS AND 16 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)

CS 2252 MICROPROCESSORS AND MICROCONTROLLERS NOVEMBER/DECEMBER 2010  ANNA UNIVERSITY QUESTION PAPER QUESTION BANK IMPORTANT QUESTIONS 2 MARKS AND 16 MARKS



B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2010
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. Give any two single byte instructions that clear the accumulator register of 8085.
2. List the machine cycles involved in the execution of the following 8085 instructions: PUSH PSW; MOV A, M. 3. List the pointer and index registers of 8086 architecture. 4. Identify the addressing modes involved in the following 8086 instructions: MOV AX, 0005H; MOV AX, 50H [BX][SI]. 5. What are the two internal sections of 8087 architecture? 6. What is the role of CCP in 8089 architecture? 7. What are the signals and instructions available in 8085 processor for serial I/O communication? 8. What signals are required between a 8085 processor and an interrupt controller for interrupt driven data transfer? 9. What are the functions of the following signals of 8051? ALE/PROG,PSEN . 10. What are the sources of interrupts in 8051? PART B — (5 × 16 = 80 Marks) 11. (a) (i) List and explain the functions of flags in 8085 processor. (8) (ii) Write an assembly language program using 8085 instruction set to convert a string of ASCII characters into its hexadecimal equivalent. (8) Or (b) (i) Identify the addressing modes and the number of T-states required for the following instructions of 8085: MOV M,A; LXI SP, addr.; LDAX D;ORA B. (8) (ii) Discuss the features of 8085 processor for the support of interrupts and DMA. (8) 12. (a) (i) Explain the register organization of 8086 processor in detail. (8) (ii) Describe the various addressing modes of 8086 processor with suitable examples for each. (8) Or (b) (i) What is the use of interrupts in microprocessor systems? With suitable examples explain the sequence of operations done by a microprocessor when it is interrupted. (8) (ii) Explain how BIOS function calls are invoked in assembly language programs. (8) 13. (a) (i) Explain the exception handling feature of 8087. (8) (ii) Write a detailed note on the data types supported by 8087 in detail. (8) Or (b) (i) With a neat sketch explain the general interconnections between 8086 and 8089. (10) (ii) Distinguish between loosely coupled and closely coupled multiprocessor systems with suitable examples. (6) 14. (a) (i) With a neat sketch, show all the interconnections required between a 8085 processor and a RAM of size 4KB mapped in the address range 2000H-2FFFH. (8) (ii) Explain the data transfer on a parallel printer interface using a timing diagram. (8) Or (b) (i) What are the signals a microprocessor should have to support DMA? List and explain the sequence of operations carried out during a DMA transfer. (8) (ii) Explain the four modes of keyboard operation in 8279. (8) 15. (a) (i) Bring out the features of Special Function Registers of 8051 microcontroller. (8) (ii) With a neat sketch of a Schematic diagram, explain the functions of various signals of 8051. (8) Or (b) (i) Describe the various interrupts and their associated priorities in 8051 microcontroller. (8) (ii) Write brief notes on ADCs mid DACs along with their interface details. (8)

B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 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. Identify the addressing mode of the following 8085 instruction.
(a) SHLD 2500H
(b) DCR E
2. Name the machine cycles needed to execute the 8085 instruction MVIB,4FH.
3. What are the general purpose registers in 8086?
4. Give the importance of the assembler directive EVEN.
5. What are the features of closely coupled multiprocessor systems?
6. What do you mean by CCW in an I/O processor?
7. How many address lines and data lines are necessary for accessing 32Kx8 memory?
8. What is DMA?
9. What are the differences between a microprocessor and a microcontroller?
10. How is the selection of particular register bank done in 8051?


PART B —(5 × 16 = 80 marks)


11. (a) Explain the Intel 8085 Microprocessor architecture with neat diagram. (16)
Or
(b) (i) Discuss the different groups of instruction set of 8085 with suitable examples.(8)
(ii) Write an 8085 ALP to find the largest number in a array of 10 data. Starting address of the array of data is 4250H. (8)
12. (a) (i) Explain the various addressing modes of 8086 processor with suitable examples. (10)
(ii) Compare macro and procedure. (6)
Or
(b) (i) Write an 8086 ALP to find the sum of numbers in the array of 12 elements. (8)
(ii) What is BIOS? Discuss the various BIOS function calls. (8)
13. (a) (i) Draw the block diagram of 8087 numeric Data processor and explain. (10)
(ii) Discuss briefly the data types supported by 8087 Numeric Data Processor. (6)
Or
(b) (i) Explain the block diagram of 8089 I/O processor. (10)
(ii) Discuss the schemes used to solve the bus arbitration problem in multiprocessors (6)
14. (a) Explain the 8251 USART with neat block diagram. Also explain its mode word, command word and status word. (16)
Or
(b) Describe the block diagram of 8259 Programmable Interrupt Controller and its priority modes. (16)
15. (a) (i) Draw the pin diagram of 8051 microcontroller and explain the functions of each pin. (10)
(ii) Discuss briefly the various registers in 8051 microcontroller. (6)
Or
(b) (i) Explain the interfacing of 4×4 matrix keyboard to the 8051 microcontroller with neat diagram. (10)
(ii) Briefly write about the IE and IP register in 8051 microcontroller. (6)
 

No comments:

Post a Comment