Sunteți pe pagina 1din 8

Code No: RR310501 Set No.

1
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. Write short notes on the following:


(a) Pipe lining in 8086
(b) Based and Indexed addressing modes of 8086
(c) Different I/O devices in a personal computer [6+5+5]
2. (a) Draw the programming model of 8086, containing 8 bit, 16 bit and 32 bit
registers and also list the general purpose and multipurpose registers of 8086.
(b) Explain the operation of 8086 in real mode and protected mode of memory
addressing. [8+8]
3. (a) Write short notes on the following string data transfer instructions :
i. LODS
ii. STOS
iii. MOVS
(b) Explain what the REPE prefix does when coupled with the SCASB instruction
? [12+4]
4. (a) Use a74LS138 decider to select one of the eight 1 K byte RAMS starting from
8000 H. Show the circuit.
(b) Why is the 8086 memory set up as 2 byte wide banks ? What logic levels
would you find on BHE and Ao when an 8086 is writing a byte to an address
04274 H? [8+8]
5. Draw internal architecture of 8257 DMA controller, and explain its programming
features. [16]
6. (a) Explain a transistor buffer circuit used to drive 7-segment LED’s .
(b) Explain with a block diagram the usage of 8048 microcontroller for keyboard
interfacing. [8+8]
7. Explain write pre-compensation, data separation, phase locked loop and CRC in
floppy disk interface. [16]
8. Interface 8251 with 8086 at an address 80H. Initialize it in asynchronous transmit
mode, with 7 bit character size, band factor 16, one start bit, one stop bit, even
parity enable. Further transmit a message ‘HAPPY NEW YEAR’ in ASCII coded
form to a modem. [16]

1 of 2
Code No: RR310501 Set No. 1
⋆⋆⋆⋆⋆

2 of 2
Code No: RR310501 Set No. 2
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) Develop an 8086 assembly language program for performing an unsigned bi-
nary division on a 32-bit word by a 16-bit word.
(b) What are assembler directives? Explain with examples. [10+6]

3. (a) Write an 8086 assembly language program which moves a string from the
location LOCA to location LOCB in memory.
(b) What are the features of
i. CMPS
ii. SCAS instruction ? [8+8]

4. Draw the schematic diagram of 8255 PPI and explain different modes of operation
of 8255 with example. [16]

5. (a) What is minimum no. of bus cycles that can occur between the time an
interrupt request is recognized and the first instruction in the interrupt routine
is fetched. Draw the bys cycles.
(b) Write an instruction sequence that will cause the priority of an 8259, whose
even address is
08A0, to be IR4, IR5, IR6, IR7, IR0, IR1, IR2, IR3. Solve this twice, once
assuming that the
highest priority is currently IR0 and once assuming that it is IR3. [6+10]

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. (a) Discuss the different disk recording techniques and format of a track.

1 of 2
Code No: RR310501 Set No. 2
(b) Explain with a block diagram how dot matrix character display is produced
on the CRT. [8+8]

8. (a) Explain the physical communication standards required to communicate be-


tween computer-computer communication or human-computer communica-
tion over long and short distances.
(b) Draw the circuits for driving and receiving 20mA loop signals and explain
theushright [8+8]

⋆⋆⋆⋆⋆

2 of 2
Code No: RR310501 Set No. 3
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. Give the 8086 assembler language implementation of the following elementary con-
structs :

(a) IF-THEN-ELSE
(b) REPEAT UNTIL
(c) DO-WHILE
(d) CASE [16]

3. (a) Write short notes on the following string data transfer instructions :
i. LODS
ii. STOS
iii. MOVS
(b) Explain what the REPE prefix does when coupled with the SCASB instruction
? [12+4]

4. Draw the schematic diagram of 8255 PPI and explain different modes of operation
of 8255 with example. [16]

5. (a) Explain the functions of the following signals of 8257


i. IOR
ii. IOW
iii. HRQ
iv. MARK
v. MEMR
vi. MEMW
vii. TC
viii. AEN

1 of 2
Code No: RR310501 Set No. 3
(b) Explain the programming of channel prioriteis and auto load feature of 8275
DMA controller. [8+8]

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 the working of 6845 CRT controller and discuss its
various commands. [16]

8. Write a program to initialize 8251 in synchronous mode with even parity, single
SYNCH character, 7 bit data character. Then receive FFH bytes of data from a
remote terminal and store it in the memory at address 5000 H: 2000H. [16]

⋆⋆⋆⋆⋆

2 of 2
Code No: RR310501 Set No. 4
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. Show the 8086 instruction or group of instructions which will :

(a) initialize the stack segment register to 4000H and stack pointer register to
8000H
(b) call a near procedure named FIXIT
(c) save BX and BP at the start of a procedure and restore them at the end of
the procedure
(d) return from a procedure and automatically increment the stack pointer by 8.
[8+8]

3. Use the 8086 string instructions to write a program which scans a string of 80
characters looking for a carriage return (0DH). If a carriage return is found, put
the length of the string up to the carriage return in AL. If no carriage return is
found, put 50H in AL. [16]

4. (a) Explain the term hand shaking as it applies to computer I/O system.
(b) Develop an I/O port decoder, using a PAL16OL.8, that generates 16-bit I/O
strober for the 16 bit I/O port address 100 DH .....1001 H.....1003 H......100
EH......100FH. [6+10]

5. (a) Write about interrupt sequence in an 8086 system


(b) Explain about command words of 8259
(c) Show interfacing schematic for connecting 13 interrupting devices to 8086
using 8259 [4+6+6]

6. (a) Give the disadvantages of mechanical relays. How are solid state relays better?
(b) Differentiate between two key lockout and N key roll over.
(c) Explain the working of absolute shaft encoder. [6+4+6]

1 of 2
Code No: RR310501 Set No. 4
7. Draw a block diagram for implementing a data acquisition system of 16 channels
and explain its functioning [16]

8. (a) A terminal is transmitting asynchronous serial data at 1200 Bd. What is the
bit time? Assuming 8 data bits, a parity bit and 1 stop bit, How long does it
take to transmit one character?
(b) Draw the flow chart showing how asynchronous serial data can be sent from
a port line using a software routine.
(c) Why are the two ground pins on an RS-232C connector not just jumpered
together? [7+7+2]

⋆⋆⋆⋆⋆

2 of 2

S-ar putea să vă placă și