0% found this document useful (0 votes)
71 views

Rr322203 Microprocessors Microcontrollers

The document contains questions from a past examination for a Microprocessors and Microcontrollers course. It includes questions on topics such as 8086 addressing modes, segmentation, procedures, interrupts, interfacing peripherals like 8255 and 8251 to microprocessors, serial communication standards, real-time clocks, memory devices like SRAM, DRAM, EPROM and their organization. It also contains questions related to 8051 microcontrollers including internal architecture, counter/timer modes and serial port register formats.

Uploaded by

geddam06108825
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

Rr322203 Microprocessors Microcontrollers

The document contains questions from a past examination for a Microprocessors and Microcontrollers course. It includes questions on topics such as 8086 addressing modes, segmentation, procedures, interrupts, interfacing peripherals like 8255 and 8251 to microprocessors, serial communication standards, real-time clocks, memory devices like SRAM, DRAM, EPROM and their organization. It also contains questions related to 8051 microcontrollers including internal architecture, counter/timer modes and serial port register formats.

Uploaded by

geddam06108825
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Code No: RR322203

Set No. 1

III B.Tech II Semester Supplementary Examinations, Aug/Sep 2006 MICROPROCESSORS & MICROCONTROLLERS (Instrumentation & Control Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Explain the use of addressing mode? It is necessary to move a byte from location 4000H:2000H to 4000H:2005H. Give all possible methods using 8086 addressing modes? (b) What is memory segmentation? Explain the use of segmentation in dierent applications? Explain how segmentation provides eective task switching mechanism? [8+8] 2. (a) Develop a far procedure declared as PUBLIC to convert a 4-digit BCD number to its equivalent hex number? (b) Develop a near procedure to nd the GCD of two numbers of 2-digit Hex. Use this procedure to nd the GCD of three numbers? [8+8] 3. (a) Discuss the system bus cycle of 8086 with a neat diagram? What is the use of wait cycles? Compare wait and idle cycles? (b) Design an I/O port decoder that generate the following low-bank I/O strobes: 00FEH, 00C8H, 00DEH, 00EEH. [8+8] 4. (a) Draw the block diagram of 8255 and explain each block? Discuss dierent modes of operation? (b) With neat layout, explain how a microprocessor can be used for data acquisition system using A/D converters and D/A converters? [8+8] 5. (a) Draw the block diagram of 8251 and explain each block? (b) Discuss the serial data transmission standards and their specications?[10+6] 6. With detailed hardware and the associated algorithm, explain how a real time clock will be implemented in an 8086 based system. [16] 7. (a) With a neat sketch explain the internal organization of SRAM chip? List out the input and output pins? Discuss their function in a system? [8] (b) Explain the following terms with reference to DRAM i. ii. iii. iv. Write cycle Access time Refresh Read cycle

[4x2=8]

8. (a) Explain the alternate functions of Port 0, Port 2 and Port 3? 1 of 2

Code No: RR322203

Set No. 1

(b) Discuss the interrupt structure of 8051? Mention the priority? Explain how least priority is made as highest priority? [9+7]

2 of 2

Code No: RR322203

Set No. 2

III B.Tech II Semester Supplementary Examinations, Aug/Sep 2006 MICROPROCESSORS & MICROCONTROLLERS (Instrumentation & Control Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Explain the use of addressing mode? It is necessary to move a byte from location 4000H:2000H to 4000H:2005H. Give all possible methods using 8086 addressing modes? (b) What is memory segmentation? Explain the use of segmentation in dierent applications? Explain how segmentation provides eective task switching mechanism? [8+8] 2. (a) Develop a far procedure declared as PUBLIC to convert a 4-digit BCD number to its equivalent hex number? (b) Develop a near procedure to nd the GCD of two numbers of 2-digit Hex. Use this procedure to nd the GCD of three numbers? [8+8] 3. Why do we prefer interrupt driven data transfer than programmed I/O transfer? Show the complete hardware design to resolve the multiple interrupts based on priority? [4+12] 4. (a) Draw the block diagram of 8255 and explain each block? (b) What is BSR mode operation? How it is useful in controlling the interrupt initiated data transfer for mode 1 and 2? [8+8] 5. (a) Draw the block diagram of 8251 and explain each block? (b) Draw the owchart showing how synchronous serial data can be sent from a port line using software routine? [10+6] 6. (a) Write an instruction sequence that will cause the priority of an 8259, whose even address is 0800H, to be IR5 , IR6 , IR7 , IR0 , IR1 , IR2 , IR3 , IR4 . Solve this problem when the current priority is IR1 and for the second time assuming the current priority to be IR7 ? (b) Explain with examples how interrupt type 1 and type 3 provide debugging feature? [10+6] 7. (a) Discuss the organization of FLASH memory? Explain the FLASH memory command denitions? (b) With the help of basic cell explain SRAM and DRAM? Discuss the advantages and disadvantages of the above memories? [6+10] 8. (a) Enlist salient features of 8051 family of microcontrollers? (b) Explain with waveforms dierent modes of counter/timer in 8051? 1 of 2 [8+8]

Code No: RR322203

Set No. 2

2 of 2

Code No: RR322203

Set No. 3

III B.Tech II Semester Supplementary Examinations, Aug/Sep 2006 MICROPROCESSORS & MICROCONTROLLERS (Instrumentation & Control Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Compare 8 bit processors and 16 bit processors from the architectural view. (b) Explain Overow condition with 8 bit signed data. Generate Overow ag using other ags of 8086? [6+10] 2. (a) What is a recursive procedure? Write a recursive procedure to calculate the factorial of number N, where N is a two-digit Hex number? (b) What are the loop instructions of 8086? Explain the use of DF ag in the execution of string instructions. [9+7] 3. The I/O circuitry in an 8086 based system consists of ve I/O devices with one status signal for each device. Design the required hardware providing two address locations to each device, one for status and other for data. In the range 0F00H to 0FOFH. Write an instruction sequence to test the status of each device and store it. [16] 4. Interface an 8-bit DAC to 8255 with an address map of 0100H to 0103H. The DAC provides output in the range of +5V to -5V. Write the instruction sequence for the following? (a) For generating a square wave with a peak to peak voltage of 2V and the frequency will be selected from memory location FREQ. [6+10] (b) For generating a triangular wave with a maximum voltage of +4V and a minimum of -2V. 5. (a) Distinguish between synchronous and asynchronous serial data transmission techniques? Discuss the advantages and disadvantages? [8] (b) Draw the block diagram of combination of FAX and Data Modem? Explain each block? [4+4] 6. (a) How many initialization command words are required for a single 8259 in an 8086 based system? Explain their format? (b) What is type 2 interrupt? Explain the condition for initiating type 2 interrupt? What is the priority of this interrupt in 8086? [10+6] 7. (a) With a neat sketch explain the internal organization of SRAM chip? List out the input and output pins? Discuss their function in a system? (b) Draw the basic cell structure of EPROM and explain the principle of operation? 1 of 2

Code No: RR322203

Set No. 3

(c) Distinguish between EPROM and E 2 PROM? Mention their application areas? [6+6+4] 8. (a) Discuss the advantages of microcontroller based systems over microprocessor based systems? (b) With a neat sketch discuss the internal architecture of 8051? [6+10]

2 of 2

Code No: RR322203

Set No. 4

III B.Tech II Semester Supplementary Examinations, Aug/Sep 2006 MICROPROCESSORS & MICROCONTROLLERS (Instrumentation & Control Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks 1. (a) Give the 8085 compatible ags of 8086 processors? Discuss the design of each ag? (b) List out segmentation resisters of 8086? Explain how 8086 provides 1 MB memory address space using the segment registers? What is the purpose of extra segment? [8+8] 2. (a) Explain in detail the coding template for 8086 MOV instruction? (b) It is necessary to declare a program as a public procedure to be accessible by other programs? Give the sequence of assembly language statements? An external program called fact is to used in this program. Show the required statements? [8+8] 3. Why do we prefer interrupt driven data transfer than programmed I/O transfer? Show the complete hardware design to resolve the multiple interrupts based on priority? [4+12] 4. Interface an 8-bit DAC to 8255 with an address map of 0100H to 0103H. The DAC provides output in the range of +5V to -5V. Write the instruction sequence for the following? (a) For generating a square wave with a peak to peak voltage of 2V and the frequency will be selected from memory location FREQ. [6+10] (b) For generating a triangular wave with a maximum voltage of +4V and a minimum of -2V. 5. (a) Discuss Overrun error and Framing error with reference to 8251? (b) Discuss the mode instruction format of 8251 for synchronous and asynchronous mode of operation? (c) Explain single transfer mode and block transfer mode of 8237? [5+5+6]

6. It is necessary to serve 18 interrupt requests using 8259s. The address map for the 8259s is given from 0A00H to 0A0FH. Show the complete interface with 8086 system bus? These 18 interrupts are to be requested from interrupt type 040H on words, with edge trigged mode and auto end of interrupt. Give the initialization sequence for all 8259s. [16] 7. (a) With a sketch explain 74LS138 decoder and its use?

1 of 2

Code No: RR322203

Set No. 4

(b) Generate chip select signals with the help of 74LS138 to six memory chips of size 16KB, with the address map from 00000H to 17FFFH? [6+10] 8. Draw and discuss the formats and bit denitions of the following SFRs in 8051 microcontroller? (a) IP (b) TMOD (c) TCON (d) SCON [4x4=16]

2 of 2

You might also like