You are on page 1of 2

Code No: RA310501 RA

III B.Tech I Semester Regular Examinations, November 2007


INTERFACING THROUGH MICROPROCESSORS
( Common to Computer Science & Engineering, Information Technology
and Computer Science & 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. (a) What happens if the .WHILE 1 instruction is placed in a program ?


(b) Using the DO-WHILE construct, develop a sequence of 8086 instructions that
reads a character string from the keyboard and after the enter key is typed,
the character string is displayed again. [4+12]

3. (a) What is a procedure ? How is a procedure identified as near or far ?


(b) Explain how the near and far CALL instructions function. [6+10]

4. (a) A 74 LS 138 decode has its three select inputs connected to A12 , A13 , A14 of
the system address bus. It has G2A connected to A15 , G2B to RD and G1
and connected to +SV. Determine the memory map which the system can
address to using 8 number of Roms.
Why is RD used as one of the enables on a Rom decode ?
(b) Write an 8086 routive to test the system RAM ub addresses 00200H through
07FFFH. [10+6]

5. An 8086 system has a DMA controller 8257 interfaced such that address of its mode
set register is F8H and address of its DMA address register of channel 0 is F0H.
Write an ALP to read 2K bytes of data from location 5000H:2000H in the sys-
tem memory to a Peripheral on channel of the DMA controller. Disable all other
channels, program TC stop, No autoload is required, fixed priority [16]

6. (a) Design a circuit to activate a actuator, based on a bit combination given by


eight switches interfaced to a microprocessor
(b) Design a interface circuit to feed numbers 0-9 through a linearly encoded
switches and to display the number on a seven segment LED through a mi-
croprocessor [8+8]

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

1 of 2
Code No: RA310501 RA
8. (a) What is the difference between synchronous and asynchronous serial data
transmission?
(b) What is the difference between UART and USART? [8+8]

?????

2 of 2

You might also like