Professional Documents
Culture Documents
Model Question Paper
Model Question Paper
Model Question Paper
DEPARTMENT: EEE
Semester: V (For candidates admitted in 2011)
Subject Code: BEECEE 502/R01/MPSCEE 502R01
Subject: MICROPROCESSORS AND MICROCONTROLLERS
Time: 3 Hours
Max Marks: 100
PART A (2 x 20 = 40 MARKS)
1.
2.
3.
4.
5.
6.
7.
8.
9.
1.Name the ports and other pins that are used for accessing external memory in a 8051
based system
X 4 = 60 Marks)
21 a) With the help of a neat diagram, show the internal registers of 8086 processor and the
related memory space showing the access mechanism.
[8]
b) What is segmentation? Illustrate the method of obtaining the physical address using
appropriate segment and offset registers.
[7]
OR
22 a) What are the addressing modes available in 8086 processor? Explain each mode by
giving 2 examples for each mode.
[9]
b) Name the 4 important groups of instructions in 8088, giving 2 examples for each. [6]
23 a) Write a subroutine program in assembly language of 8088 for converting a BCD numbers to
binary. Also write a main program for accessing an array of 6 BCD numbers stored from location
DS: 1000, and for creating a 6-byte binary array, by calling the above subroutine. The result is
stored in DS: 1050 onwards.
[9]
b) Explain the interrupt features of 8088 processor and prepare the interrupt table. [6]
OR
24 a) Draw the schematic diagram of the memory system for a 8088 processor containing 2
numbers of 8K ROM and 2 numbers of 8K RAM. Give the details of the decoding circuit and
prepare the memory map.
[8]
b) Draw a block diagram of 8255 PPI chip showing the interface with an 8088 processor and
ports. Explain briefly.
[7]
25 a) Draw the internal architecture of RAM in 8051 and explain in detail.
[8]
b) Write an ALP in 8051 to generate a 5 kHz square waveform with a duty ratio of 0.25 at Pin
P1.4 by calling a single delay subroutine. Assume a CLK frequency of 6 MHz and show the
calculations involved.
[7]
OR
26 a) What are the instruction groups available in 8051? Describe each group with 2 examples
each.
[8]
b) An array of twelve 8 bit unsigned numbers is available from memory location 9300H
onwards. Write an ALP to find out the number of odd numbers, store it in register R5 of bank 3
and the number of even numbers, and store it in register R6 of bank 2.
[7]
27 a) Draw the layout of a DB-9 pin connector showing the pin names and their role in serial
data communication.
[6]
b) Write an ALP for serially transmitting the data SEPTEMBER, which is stored as ASCII data
in RAM location 60H onwards, at a baud rate of 4800 bits/sec through the TxD pin.
[9]