qp-nov_2011-3_1-ecm-mpi

4
Code No: V3128/R07 III B.Tech I Semester Regular & Supplementary Examinations, November 2011 MICRO PROCESSORS AND INTERFACING (Common to Computer Science and Engineering & Information Technology & Electronics and Computer Engineering) Time: 3 Hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ***** 1. a) Draw and explain the flag register of 8085 micro processor. b) What is an addressing mode? List and explain different addressing modes of 8086 microprocessor. Also explain the physical address formation in different addressing modes. [6+10] 2. a) What is an assembler? Write an ALP to convert a four digit decimal number to its binary equivalent. b) Write an ALP to display a message ‘Happy Birthday!’ on the screen after a key ‘A’ is pressed. [8+8] 3. Draw the functional pin diagram of 8086 microprocessor and explain the functions of each pin. [16] 4. Draw and explain the internal architecture of 8255. Interface an 8255 with 8086 so as to have port A address 00, port B address 02, port C address 01 and CWR address 03. [16] 5. a) What is an interrupt? Explain different interrupts available in 8086. b) Draw and explain the interrupt vector table of 8086. [8+8] 6. a) What are the different methods of data communication? Explain b) Draw and explain the internal architecture of 8251A. [8+8] 7. a) What is meant by paging? Explain its advantages and disadvantages. b) What is a RISC processor? Also explain the properties of RISC. [8+8] 8. a) Discuss the advantages of microcontroller based systems over microprocessor based systems. b) Explain different addressing modes of 8051 microcontroller with suitable examples. [6+10] ***** 1 of 1 Set No: 1 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Upload: mohit-joshi

Post on 24-May-2017

215 views

Category:

Documents


0 download

TRANSCRIPT

Code No: V3128/R07

III B.Tech I Semester Regular & Supplementary Examinations, November 2011

MICRO PROCESSORS AND INTERFACING

(Common to Computer Science and Engineering & Information Technology & Electronics

and Computer Engineering)

Time: 3 Hours Max Marks: 80

Answer any FIVE Questions

All Questions carry equal marks

*****

1. a) Draw and explain the flag register of 8085 micro processor.

b) What is an addressing mode? List and explain different addressing modes of

8086 microprocessor. Also explain the physical address formation in different

addressing modes. [6+10]

2. a) What is an assembler? Write an ALP to convert a four digit decimal number to its

binary equivalent.

b) Write an ALP to display a message ‘Happy Birthday!’ on the screen after a key

‘A’ is pressed. [8+8]

3. Draw the functional pin diagram of 8086 microprocessor and explain the functions of

each pin. [16]

4. Draw and explain the internal architecture of 8255. Interface an 8255 with 8086 so as

to have port A address 00, port B address 02, port C address 01 and CWR address

03. [16]

5. a) What is an interrupt? Explain different interrupts available in 8086.

b) Draw and explain the interrupt vector table of 8086. [8+8]

6. a) What are the different methods of data communication? Explain

b) Draw and explain the internal architecture of 8251A. [8+8]

7. a) What is meant by paging? Explain its advantages and disadvantages.

b) What is a RISC processor? Also explain the properties of RISC. [8+8]

8. a) Discuss the advantages of microcontroller based systems over microprocessor

based systems.

b) Explain different addressing modes of 8051 microcontroller with suitable

examples. [6+10]

*****

1 of 1

Set No: 1

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Code No: V3128/R07

III B.Tech I Semester Regular & Supplementary Examinations, November 2011

MICRO PROCESSORS AND INTERFACING

(Common to Computer Science and Engineering & Information Technology & Electronics

and Computer Engineering)

Time: 3 Hours Max Marks: 80

Answer any FIVE Questions

All Questions carry equal marks

*****

1. a) List and explain the general purpose registers of 8086 microprocessor. Also

explain its special functions.

b) List and Explain different string manipulation instructions of 8086 microprocessor

with suitable examples. [8+8]

2. a) Enlist the advantages of assembly language programming over machine language.

Write an ALP to find out the sum of even and odd numbers from a given series of

16-bit hexadecimal numbers.

b) Write an ALP to decide whether the parity of a given number is even or odd. If

parity is even set DL to 00; else, set DL to 01. [8+8]

3. Draw the interconnection of 8086 microprocessor with peripherals in minimum

mode. Also draw and discuss the read and write cycle timing diagrams of 8086 in

minimum mode. [16]

4. Design a stepper motor controller and write an ALP to rotate a200 teeth, 4-phase

stepper motor as specified below.

a) Five rotations clockwise and then five rotations anticlockwise

b) Rotate through angle 1350 in 2 sec. [8+8]

5. a) What is an interrupt? Explain the difference between maskable and non-maskable

interrupts?

b) Discuss about the following control word formats of 8259:

i. Initialization Command Words (ICWs).

ii. Operational Command Words (OCWs) [6+10]

6. a) Discuss different serial data transfer schemes.

b) Explain the asynchronous mode of operation of the 8251A [8+8]

7. a) Explain the salient features of the 80286 & 80386 microprocessors.

b) Explain the concept of virtual memory. [8+8]

8. a) Discuss the following signal description of 8051

i. TXD ii. RXD

b) Draw and discuss the formats and bit definitions of the following SFRs

i. PCON ii. SCON iii. TMOD iv. IE [4+12]

*****

1 of 1

Set No: 2

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Code No: V3128/R07

III B.Tech I Semester Regular & Supplementary Examinations, November 2011

MICRO PROCESSORS AND INTERFACING

(Common to Computer Science and Engineering & Information Technology & Electronics

and Computer Engineering)

Time: 3 Hours Max Marks: 80

Answer any FIVE Questions

All Questions carry equal marks

*****

1. a) List and explain different flags available in 8086 microprocessor.

b) What is an assembler directive? List and explain different assembler directives of

the 8086 microprocessor. [8+8]

2. a) What is a linker? Write an ALP in 8086 to find out the largest number from a

given unordered array of 8-bit numbers, stored in the locations starting from a

known address.

b) Write an ALP in 8086 to move a string of data words from offset 3000H to offset

4000H and the length of the string in 0AH. [8+8]

3. What is DMA? What is the need for DMA? With a neat block diagram, explain the

working of 8257 DMA controller. [16]

4. 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. [16]

5. Draw and explain the architecture of 8259 programmable Interrupt Controller. Also

explain the interrupt sequence in 8086 system. [16]

6. Design a hardware interfacing circuit for interfacing 8251 with 8086. Set the 8251A

in asynchronous mode as a transmitter and receiver with even parity enabled, 2 stop

bits, 8-bit character length, frequency 160 KHz and baud rate 10K.

a) Write an ALP to transmit 100 bytes of data string starting at location

2000:5000H.

b) Write an ALP to receive 100 bytes of data string and store it at location

3000:4000H. [8+8]

7. a) What is meant by paging? explain

b) Explain the real mode and protected mode operations of 80386 microprocessor.

[6+10]

8. a) Draw and discuss the internal architecture of 8051.

b) Explain the interrupt structure of the 8051 microcontroller. [8+8]

*****

1 of 1

Set No: 3

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.

Code No: V3128/R07

III B.Tech I Semester Regular & Supplementary Examinations, November 2011

MICRO PROCESSORS AND INTERFACING

(Common to Computer Science and Engineering & Information Technology & Electronics

and Computer Engineering)

Time: 3 Hours Max Marks: 80

Answer any FIVE Questions

All Questions carry equal marks

*****

1. a) Explain the functions of the following pins of the 8086 microprocessor.

i. READY ii. HOLD iii. TEST iV. ALE

b) List and explain the functions of different segment registers of 8086

microprocessor. From which address the 8086 starts execution after restart? [8+8]

2. a) What is an assembler? Write an assembly language program for the addition of

two 3x3 matrices. The matrices are stored in the form of lists (row wise). Store the

result of the addition in the third list.

b) Write an assembly language program in 8086 to display a message ‘Happy New

Year’ on the CRT screen of a microcomputer. [8+8]

3. Draw the interconnection of 8086 microprocessor with peripherals in maximum

mode. Also draw and discuss the read and write cycle timing diagrams of 8086 in

maximum mode. [16]

4. Draw the internal architecture of 8255 and explain various modes of operation of

8255. [16]

5. a) Explain different types of interrupts available in 8086. Also explain the interrupt

sequence in 8086-8259A system.

b) Distinguish between Master and Slave mode operation of 8259. [8+8]

6. a) What is USB? Explain

b) Draw and explain asynchronous mode transmit and receive formats of 8251

USART. [6+10]

7. a) Explain the physical address formation in real address mode of 80386.

b) Explain the salient features of Pentium processor. [8+8]

8. a) Discuss the register set of MCS-51 family of microcontrollers.

b) Explain the basic differences between a microprocessor and a microcontroller.

[12+4]

*****

1 of 1

Set No: 4

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.