RR320202-MICROPROCESSORS-AND-INTERFACING May2008
RR320202-MICROPROCESSORS-AND-INTERFACING May2008
in
1. Discuss the general functions of all general-purpose resisters of 8086? Explain the
special function of each resister and instruction support for these functions. [16]
.in
2. Develop an 8086 assembly language program that reads a key from the keyboard
.co
and converts it to uppercase before displaying it. The program needs to terminate
on typing the ‘Crtl + C’ key combination. [16]
3. (a) What is the purpose of ALE, BHE, DT/R and DEN pins of 8086? Show
ss
their timing in the system bus cycle of 8086?
re
(b) Show the complete design to generate system address, data and control buses
using the above pins, latches and transceivers. [8+8]
xp
4. Explain why 8255 ports are divided into two groups? Discuss how these groups are
controlled in different modes of operation? Explain different control signals and
se
to a modem? [16]
ca
⋆⋆⋆⋆⋆
1 of 1
http://www.campusexpress.co.in
campusexpress.co.in
1. (a) Compare 8 bit processors and 16 bit processors from the architectural view.
.in
(b) Explain Overflow condition with 8 bit signed data. Generate Overflow flag
using other flags of 8086? [6+10]
.co
2. (a) Explain the coding template of 8086 instruction? Discuss the coding template
of MOV instruction?
ss
(b) Discuss the importance of procedures in assembly language programming?
re
[9+7]
xp
3. Describe the function of the following pins and their use in 8086 based system.
(a) DEN
se
(b) LOCK
pu
(c) T EST
(d) READY [4 x 4 = 16]
m
4. Interface an 8-bit DAC to 8255 with an address map of 0100H to 0103H. The DAC
ca
provides output in the range of +5V to -5V. Write the instruction sequence for the
following?
(a) For generating a square wave with a peak to peak voltage of 2V and the
frequency will be selected from memory location ‘FREQ’. [6+10]
(b) For generating a triangular wave with a maximum voltage of +4V and a
minimum of -2V.
5. (a) Draw the flowchart showing how synchronous serial data can be sent from a
port line using software routine?
(b) Draw the block diagram of 8237 and explain each block. [8+8]
6. (a) Which interrupt type is associated with NMI? Mention its vector address?
(b) What is the purpose of IF flag in handling the interrupts?
(c) Which interrupt type is associated with TF flag? What is the vector address?
Explain the use of this interrupt? [5+5+6]
1 of 2
http://www.campusexpress.co.in
campusexpress.co.in
8. (a) Draw and discuss the formats and bit definitions of the following SFRs in 8051
microcontroller?
i. SCON
ii. TCON [4x2=8]
(b) Discuss the following signal descriptions?
.in
i. ALE/PROG
ii. EA/Vpp
.co
iii. P SEN
iv. RXD [2x4=8]
ss
⋆⋆⋆⋆⋆
re
xp
se
pu
m
ca
2 of 2
http://www.campusexpress.co.in
campusexpress.co.in
.in
CS=5000H, DS=8000H, SS=9000H, ES=7000H, SI=1000H, DI=2000H, BP=0008H,
SP=0002H, AX=0000H, BX=5200H, CX=8000H, DX=2800H
.co
Calculate the effective address and physical address of the following instructions.
(b) What are the loop instructions of 8086? Explain the use of DF flag in the
execution of string instructions. [9+7]
3. (a) Explain how an 8086 enters into Wait State? How many wait states can be
inserted in a machine cycle?
(b) What is the difference between system bus cycle and bus idle cycle? Draw the
timing diagram of bus idle cycle? [6+10]
4. (a) With neat layout, explain how a microprocessor can be used for data acquisi-
tion system using A/D converters and D/A converters?
(b) Explain the transistor buffer circuit used to drive 7-segment LEDs? [10+6]
5. (a) Explain demand transfer mode and block transfer mode of 8237?
(b) Show how 8237’s are cascaded to provide more number of DRQ’s and explain
the operation?
1 of 2
http://www.campusexpress.co.in
campusexpress.co.in
6. (a) How many initialization command words are required for a single 8259 in an
8086 based system? Explain their format?
(b) Under what conditions type 0 interrupt is initiated? List out the instructions
that may cause type 0 interrupt? [10+6]
.in
8. Draw and discuss the formats and bit definitions of the following SFR’s in 8051
.co
microcontroller?
(a) IP
ss
(b) TMOD
(c) TCON
re
⋆⋆⋆⋆⋆
se
pu
m
ca
2 of 2
http://www.campusexpress.co.in
campusexpress.co.in
.in
not. Show all possible ways of testing the above condition using different address-
ing modes and store 0FFH if the condition is satisfied in location 3000H:2002H.
Otherwise store 00H. [16]
.co
2. (a) Explain in detail the coding template for 8086 MOV instruction? [8]
ss
(b) Write briefly about
i. PUBLIC directive
re
ii. EXTERN directive [4+4]
xp
3. (a) Explain how an 8086 enters into Wait State? How many wait states can be
inserted in a machine cycle?
se
(b) What is the difference between system bus cycle and bus idle cycle? Draw the
timing diagram of bus idle cycle? [6+10]
pu
4. Write the necessary instruction sequence to initialize 8255 with address 0C00H to
0C03H for the following combinations.
m
(a) Port A as input port in mode 1 and port B as input port in mode 1 without
ca
5. (a) Explain demand transfer mode and block transfer mode of 8237?
(b) Show how 8237’s are cascaded to provide more number of DRQ’s and explain
the operation?
(c) Explain how memory to memory transfer is performed with 8237? [5+6+5]
6. (a) Draw the block diagram of 8259 and explain each block? Discuss the salient
features of 8259?
1 of 2
http://www.campusexpress.co.in
campusexpress.co.in
7. A target system based on 8088 processor uses less amount of SRAM. The programs
are stored in EPROM that starts from F0000H ends with the address of FFFFFH.
The capacity of SRAM is 8KB interfaced at address 00000H. The chip size is 8KB
for EPROM and SRAM. Show the complete memory interface? [16]
8. Draw and discuss the formats and bit definitions of the following SFR’s in 8051
microcontroller?
(a) IP
(b) TMOD
.in
(c) TCON
(d) SCON [4x4=16]
⋆⋆⋆⋆⋆
.co
ss
re
xp
se
pu
m
ca
2 of 2
http://www.campusexpress.co.in