Beruflich Dokumente
Kultur Dokumente
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 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]
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]
⋆⋆⋆⋆⋆
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]
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]
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]
(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]
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