CS2252 - Microprocessors and Microcontrollers PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Reg. No.

Question Paper Code:

E3064

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 Answer ALL Questions

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. What are the second 8085 microprocessor? bytes in the instruction IN and OUT of

2. 3. 4. 5. 6. 7. 8. 9. 10.

Draw the 8086 flag register format.

List different types of 8086 hardware interrupts. Compare closely coupled configuration with loosely coupled configuration. Mention the need for co-processor in a microprocessor based system. Can an input port and an output port have the same port address? Justify. Why is each channel in DMA controller restricted to 16K bytes of data transfer? With XTAL = 11.0592 MHz, what value should be loaded into TH1 to have 9600 baud rate? How do you select the register bank in 805l microcontroller? PART B (5 16 = 80 Marks)

21
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)

21

PART A (10 2 = 20 Marks)

4
Maximum: 100 Marks

21

(ii)

Or

(b)

(i) (ii)

Explain the following 8085 instructions with JP, JPO, CM, RPE. DAA, XCHG. SPHL and PCHL. Draw the timing MVI A, 32h and OUT 01h. diagram for the

12.

(a)

(i) (ii)

Draw the internal block diagram of 8086 microprocessor and explain. (8) Explain any eight assembler directives of 8086 microprocessor. Or (8)

(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) 13. (a) (i) (ii)

Draw the internal block diagram of 8087 Co-processor and explain it with 8087 control word and status word formats. (12) Give two examples for packed decimal data transfers and integer data transfers of an 8087 Co-processor. (4) Or

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) (ii)

Draw the functional block diagram of 8254 timer and explain the different modes of operation. (8) Draw the block diagram of 8259A and explain how to program 8259A. (8) Explain the memory structure of an 8051 Microcontroller. (8)

21

15.

(a)

(i)

(ii)

How does one interface a 16 2 LCD Display using 8051 Microcontroller? (8) Or (8)

(b)

(i)

Explain the on-chip timer modes of an 8051 Microcontroller.

(ii)

Explain how to interface an 8-bit ADC with 8051 Microcontroller. (8)

4
2

(b)

Draw the architecture of 8089 I/O Co-processor and explain.

21

How does one define and Call Macro parameters of 8086 microprocessor? (4)

21
an example (8) instruction (8) (16)

Write a program to generate a continuous square wave with the period of 500 s . Assume the system clock period is 325ns and use bit D0 to output the square wave. (8)

E 3064

You might also like