You are on page 1of 4

Code No: 09A50506

R09

SET-1

B. Tech III Year I Semester Examinations, December-2011 MICROPROCESSORS AND INTERFACING (COMPUTER SCIENCE AND ENGINEERING) Time: 3 hours Max. Marks: 75 Answer any five questions All questions carry equal marks --1.a) b) Explain the segmented memory organization structure of 8086 and also discuss the advantages What are macros? Write an 8086 macro to produce 25ms of delay without changing any of the processor registers used in main program. Consider the 8086 is operating on a 4MHZ clock. [7+8] Distinguish between the following. i) Jump and Loop Instructions ii) Shift and Rotate Instructions. Write an Assembly Language Program to find the transpose of a 3X3 matrix. [7+8]

2.a)

b)

3.a)

Explain about the read and write cycle timing diagrams of maximum mode. What is the need of bus controller in the maximum mode? b) Explain the following modes of DMA Transfer. i) Block transfer mode ii) memory to memory transfer. [7+8] Interface a typical 12 bit DAC with 8255 and write a program to generate a triangular waveform of period 10ms. The CPU runs at 5MHz clock frequency. Interface a 26-keys keyboard with 8279. The keys represent the alphabets a to z. Write an 8086 ALP to find out the ASCII equivalent of the alphabet corresponding to the pressed key. The 8086 system runs at 6 MHz while the 8279 should work at 200 kHz. Will the internal prescalar reduce 6 MHz to 2kHz? If any external prescalar is required, design it with minimum hardware. [7+8] Explain the synchronous mode transmit and receive data format of 8251. Explain the architecture of USART 8251 with neat diagrams. [7+8]

4.a) b)

5.a) b) 6.a)

Explain the following important operational features of 8051 in detail. i) PSW ii) TMOD iii) TCON iv) SCON b) Explain how 8051 differentiates between external and internal program memory. [7+8] Explain the role of Timer1 and SCON register in serial data transfer. Write an assembly language program using program timer1 of 8051 to generate square waveform of 10KHz. Assume XTAL=20MHz. [7+8] Write short notes on the following: Interrupt structure of 8051. Assembler Directives String Manipulation Instructions. --ooOoo--

7.a) b)

8. a) b) c)

[15]

Code No: 09A50506

R09

SET-2

B. Tech III Year I Semester Examinations, December-2011 MICROPROCESSORS AND INTERFACING (COMPUTER SCIENCE AND ENGINEERING) Time: 3 hours Max. Marks: 75 Answer any five questions All questions carry equal marks --1.a) b) Draw and explain the flag register of 8086. Write an Assembly Language Program to convert a given sixteen bit binary number to its gray equivalent. [7+8] Explain about string manipulation instructions with suitable examples Write an Assembly Language Program to sort the numbers in ascending order using bubble sort. [7+8] Explain about the interfacing of SRAM with 8086 with read and write cycle timing diagrams? Explain the interface of Direct Memory Access (DMA) to the 8086 by showing transfer cycles of a block of data from memory to memory. [7+8]

2.a) b)

3.a) b)

4.a) b)

Write an Assembly Language program for interfacing 4X4 keyboard matrix to an 8088 microprocessor through 8255A Draw the interfacing schematic of an 8-digit LED display to an 8086 microprocessor through 8255A and explain briefly the operation. [7+8] Explain functionality and use of Interrupt Request Register and In Service Registers of 8259. Draw the communication interface diagram of USART 8251 and explain various signals. [7+8] With the help of a functional block diagram explain any one application of 8051 microcontroller. Write 8051 ALP to transmit Hello World to PC at 9600 baud for external crystal frequency of 11.0592MHz. [7+8] Explain interrupt structure of 8051. How 8051 micro controller can be interfaced with external ROM, Explain with examples? [7+8] Write short notes on the following a) Instruction set 8051. b) Distinguish between procedures and macros. c) Memory organization structure of 8086.

5.a) b)

6.a) b)

7.a) b)

8.

[15]

--ooOoo--

Code No: 09A50506

R09

SET-3

B. Tech III Year I Semester Examinations, December-2011 MICROPROCESSORS AND INTERFACING (COMPUTER SCIENCE AND ENGINEERING) Time: 3 hours Max. Marks: 75 Answer any five questions All questions carry equal marks --1.a) b) 2.a) b) Explain all the flags and list the internal registers in 8086 Explain the instructions related to arithmetic and logical shift.

[8+7]

Explain REP, REPZ and REPNZ prefixes used along with string instructions and also give examples Explain the following directives i) ENDS ii) ENDP iii) PTR directive iv) DD [8+7] Sketch and explain the 8086 bus activities during the read and write machine cycles in minimum mode. Explain DMA function in 8086 microprocessor with timing diagrams. [7+8] Sketch the Interfacing diagram of an 8 bit ADC to 8086. Get the digital data at port A of 8255. Derive control signals from port C and write an 8086 assembly program. Explain the BSR Control word of 8255. [7+8] Sketch and explain the interface of PIC 8259 to the 8086 microprocessor in minimum mode. Show the cascading of additional two 8259s to provide more Interrupts and also write an assembly language program. Explain about DOS and BIOS interrupts with suitable examples. [7+8] What is a USART? With a block diagram explain the architecture of USART. Draw the circuit of TTL to RS232 and explain the necessity of this interface. [7+8] Explain How Harvard architecture is implemented in 8051 and list the features of 8051 Write an 8051 assembly program to evaluate the factorial of an integer number N using recursive procedure. [7+8] Write short notes on the following a) Interrupt structure of 8051 b) IEEE 488 GPIB c) Procedures and macros. --ooOoo--

3.a) b) 4.a)

b) 5.a)

b) 6.a) b)

7.a) b)

8.

[15]

Code No: 09A50506

R09

SET-4

B. Tech III Year I Semester Examinations, December-2011 MICROPROCESSORS AND INTERFACING (COMPUTER SCIENCE AND ENGINEERING) Time: 3 hours Max. Marks: 75 Answer any five questions All questions carry equal marks --1.a) b) What is segmentation? What are its advantages? How is segmentation implemented in typical microprocessors? What are assembler directives and explain the following assembler directives i) ASSUME (ii) SEGMENT (iii) DB (iv) PUBLIC [8+7] Explain following instructions in 8086 family with example and their effect on flags i) CWD (ii) IDIV (iii) AAS (iv) SAR Write an assembly language program for bubble sort. [7+8] Show and explain how a typical DMA controller can be interfaced to an 8086 based Maximum mode system. Distinguish between maximum and minimum modes of operations of 8086 with timing diagrams [8+7] Explain interfacing of keyboard to 8086 with neat schematic diagram. Write an assembly language program for the interfacing of stepper motor to 8086. [7+8] What is a nested interrupt? Explain the interrupt vector table structure of 8086. Explain the need for cascading of interrupt controller with neat diagram [8+7] Differentiate between synchronous and asynchronous types of serial communication. Discuss DOS function call and BIOS function call with one example of each. [8+7] Explain how 8051 differentiates between external and internal program memory Explain the following important operational features of 8051 in detail. [8+7] i ) PSW ii) TMOD iii) TCON iv) SCON Write a short note on the following a) Explain architecture of USART 8251 b) Timer operation in 8051 c) Interfacing of ADC to 8086. --ooOoo--

2.a)

b) 3.a) b)

4.a) b)

5.a) b) 6.a) b)

7.a) b)

8.

[15]

You might also like