Thursday, June 27, 2013

3RD YEAR SEMESTER 1 SUPPLEMENTARY JUNE 2010 JNTU B.TECH ENGINEERING QUESTION PAPER - INTERFACING THROUGH MICROPROCESSORS

Code No:  RR310501                     RR           Set No.   2

 

 

III  B.Tech I Semester Supplementary Examinations,June 2010

INTERFACING THROUGH MICROPROCESSORS

Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering

Time: 3 hours                                                                                  Max Marks:  80

Answer any FIVE Questions

All  Questions carry equal marks

? ? ? ? ?

 

 

1. Explain  with a block diagram  how a stepper  motor  can be interfaced  to a micro- processor and explain its working.                                                                            [16]

 

2.   (a)  Write a procedure which produces a delay of 3.33 ms when run on a 8086 with a 5-MHz clock.

 

(b)  Write a main program which uses the above delay procedure to output a square wave on bit D0 of port FFFAH.                                                                     [8+8]

 

3. Describe how an assembly language program is developed and debugged using sys- tem tools.                                                                                                                     [16]

 

4. Explain  with a block diagram  how 4-digit seven segment LEDs can be interfaced to a microprocessor using multiplexing.                                                                   [16]

 

5. Develop an 8086 assembly language program that  uses a 16-bit unsigned integer as the search key and performs binary  search on the sorted 16-bit unsigned integers. [16]

 

6. An 8086 system  with  8255 interfaced  at  port  A address  F0H,  as a block of 100 data  bytes Stored in it.  Another  8086 system with another  8255 interface at port A address  80H has another  block of 100 data  bytes  stored  in it.  Interchange  this blocks of data  bytes between the two 8086 systems.  Draw the necessary hardware scheme and write the necessary sequence of instructions. Both systems run on the same clock rate.                                                                                                           [16]

 

7.   (a)  If an absolute  address of the type 6A3D9H is given, express it in the form of CS : IP  and  explain  what  are the  advantages  of the  memory  segmentation. Discuss about the various segment registers in 8086.

 

(b)  What are the modes in which the 8086 can be used .How many lines are there in the multiplexed bus of 8086. Give the pin diagram separately for each mode of operation.                                                                                                     [8+8]

 

8.   (a)  Draw and discuss the mode set register of 8257?

 

(b)  Discuss the priorities  of DMA request inputs  of 8257? (c)  Explain functions of the following signals of 8257 ?

i. ADSTB

ii. TC

 

 

1


Code No:  RR310501                     RR           Set No.   2

 

 

iii. HRQ

iv.  AEN                                                                                                      [6+4+6]

 

 

? ? ? ? ?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2


Code No:  RR310501                     RR           Set No.   4

 

 

III  B.Tech I Semester Supplementary Examinations,June 2010

INTERFACING THROUGH MICROPROCESSORS

Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering

Time: 3 hours                                                                                  Max Marks:  80

Answer any FIVE Questions

All  Questions carry equal marks

? ? ? ? ?

 

 

1. Explain  with a block diagram  how a stepper  motor  can be interfaced  to a micro- processor and explain its working.                                                                            [16]

 

2.   (a)  Draw and discuss the mode set register of 8257?

 

(b)  Discuss the priorities  of DMA request inputs  of 8257? (c)  Explain functions of the following signals of 8257 ?

i. ADSTB

ii. TC

iii. HRQ

iv.  AEN                                                                                                      [6+4+6]

 

3.   (a)  If an absolute  address of the type 6A3D9H is given, express it in the form of CS : IP  and  explain  what  are the  advantages  of the  memory  segmentation. Discuss about the various segment registers in 8086.

(b)  What are the modes in which the 8086 can be used .How many lines are there in the multiplexed bus of 8086. Give the pin diagram separately  for each mode of operation.                                                                                                     [8+8]

 

4. Develop an 8086 assembly language program that  uses a 16-bit unsigned integer as the search key and performs binary  search on the sorted 16-bit unsigned integers. [16]

 

5. Describe how an assembly language program is developed and debugged using sys- tem tools.                                                                                                                     [16]

 

6. Explain  with a block diagram  how 4-digit seven segment LEDs can be interfaced to a microprocessor using multiplexing.                                                                   [16]

 

7.   (a)  Write a procedure which produces a delay of 3.33 ms when run on a 8086 with a 5-MHz clock.

(b)  Write a main program which uses the above delay procedure to output a square wave on bit D0 of port FFFAH.                                                                     [8+8]

 

8. An 8086 system  with  8255 interfaced  at  port  A address  F0H,  as a block of 100 data  bytes Stored in it.  Another  8086 system with another  8255 interface at port A address  80H has another  block of 100 data  bytes  stored  in it.  Interchange  this blocks of data  bytes between the two 8086 systems.  Draw the necessary hardware

 

 

3


Code No:  RR310501                     RR           Set No.   4

 

 

scheme and write the necessary sequence of instructions. Both systems run on the same clock rate.                                                                                                          [16]

 

 

? ? ? ? ?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4


Code No:  RR310501                     RR           Set No.   1

 

 

III  B.Tech I Semester Supplementary Examinations,June 2010

INTERFACING THROUGH MICROPROCESSORS

Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering

Time: 3 hours                                                                                  Max Marks:  80

Answer any FIVE Questions

All  Questions carry equal marks

? ? ? ? ?

 

 

1.   (a)  If an absolute  address of the type 6A3D9H is given, express it in the form of CS : IP  and  explain  what  are the  advantages  of the  memory  segmentation. Discuss about the various segment registers in 8086.

 

(b)  What are the modes in which the 8086 can be used .How many lines are there in the multiplexed bus of 8086. Give the pin diagram separately  for each mode of operation.                                                                                                     [8+8]

 

2. Explain  with a block diagram  how 4-digit seven segment LEDs can be interfaced to a microprocessor using multiplexing.                                                                   [16]

 

3. Develop an 8086 assembly language program that  uses a 16-bit unsigned integer as the search key and performs binary  search on the sorted 16-bit unsigned integers. [16]

 

4. Describe how an assembly language program is developed and debugged using sys- tem tools.                                                                                                                     [16]

 

5.   (a)  Write a procedure which produces a delay of 3.33 ms when run on a 8086 with a 5-MHz clock.

 

(b)  Write a main program which uses the above delay procedure to output a square wave on bit D0 of port FFFAH.                                                                     [8+8]

 

6. An 8086 system  with  8255 interfaced  at  port  A address  F0H,  as a block of 100 data  bytes Stored in it.  Another  8086 system with another  8255 interface at port A address  80H has another  block of 100 data  bytes  stored  in it.  Interchange  this blocks of data  bytes between the two 8086 systems.  Draw the necessary hardware scheme and write the necessary sequence of instructions. Both systems run on the same clock rate.                                                                                                           [16]

 

7. Explain  with a block diagram  how a stepper  motor  can be interfaced  to a micro- processor and explain its working.                                                                            [16]

 

8.   (a)  Draw and discuss the mode set register of 8257?

 

(b)  Discuss the priorities  of DMA request inputs  of 8257? (c)  Explain functions of the following signals of 8257 ?

i. ADSTB

ii. TC

 

 

5


Code No:  RR310501                     RR           Set No.   1

 

 

iii. HRQ

iv.  AEN                                                                                                      [6+4+6]

 

 

? ? ? ? ?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6


Code No:  RR310501                     RR           Set No.   3

 

 

III  B.Tech I Semester Supplementary Examinations,June 2010

INTERFACING THROUGH MICROPROCESSORS

Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering

Time: 3 hours                                                                                  Max Marks:  80

Answer any FIVE Questions

All  Questions carry equal marks

? ? ? ? ?

 

 

1. An 8086 system  with  8255 interfaced  at  port  A address  F0H,  as a block of 100 data  bytes Stored in it.  Another  8086 system with another  8255 interface at port A address  80H has another  block of 100 data  bytes  stored  in it.  Interchange  this blocks of data  bytes between the two 8086 systems.  Draw the necessary hardware scheme and write the necessary sequence of instructions. Both systems run on the same clock rate.                                                                                                           [16]

 

2.   (a)  If an absolute  address of the type 6A3D9H is given, express it in the form of CS : IP  and  explain  what  are the  advantages  of the  memory  segmentation. Discuss about the various segment registers in 8086.

 

(b)  What are the modes in which the 8086 can be used .How many lines are there in the multiplexed bus of 8086. Give the pin diagram separately  for each mode of operation.                                                                                                     [8+8]

 

3.   (a)  Draw and discuss the mode set register of 8257?

 

(b)  Discuss the priorities  of DMA request inputs  of 8257? (c)  Explain functions of the following signals of 8257 ?

i. ADSTB

ii. TC

iii. HRQ

iv.  AEN                                                                                                      [6+4+6]

 

4. Explain  with a block diagram  how a stepper  motor  can be interfaced  to a micro- processor and explain its working.                                                                            [16]

 

5. Describe how an assembly language program is developed and debugged using sys- tem tools.                                                                                                                     [16]

 

6. Develop an 8086 assembly language program that  uses a 16-bit unsigned integer as the search key and performs binary  search on the sorted 16-bit unsigned integers. [16]

 

7. Explain  with a block diagram  how 4-digit seven segment LEDs can be interfaced to a microprocessor using multiplexing.                                                                   [16]

 

8.   (a)  Write a procedure which produces a delay of 3.33 ms when run on a 8086 with a 5-MHz clock.

 

 

7


Code No:  RR310501                     RR           Set No.   3

 

 

(b)  Write a main program which uses the above delay procedure to output a square wave on bit D0 of port FFFAH.                                                                     [8+8]

 

No comments:

Post a Comment