Mumbai University Previous year question papers Microprocessor and Microcontroller June 2008

Mumbai University Previous year question papers

IV Sem IT Examination June 2008

Microprocessor and Microcontroller

N.B.: (1) QuestionNo.1 is compulsory.

(2) Attempt any four questionsfrom remaining.

(3) Assumesuitable addressand data if necessary.

(4)” Figures to the right indicatefull marks.

1.(a) Design 8031 based microcontroller system with following details :- 15

(i) 32 KB Program memory using 27256 chip

(ii) 32 KB Data memory using 61256 chip

(iii) 3, 8-bit I/O ports using 8255

(iv) 8-bit ADC 804.

Explain the following Instructions :-

(i) XLAT

(ii) MOVC A, @A +DPTR

(iii) LEA destn, source

(iv) SCASW destn

(v) ACALL address.

(b) 5

2.(a) Write an 8086 Assembly Language Program to generate an square wave .of 1 kHz at one of the bit of output port. An 8086 microprocessor is running at 5 MHZ. Show delay calculations.

(b) Write 8086 assembly language program to display ‘0’ through ‘g’ and ‘A’ through ‘f’ at seven segment display connected at output port OD4H. Assume a delay between two digits. The Codes for 16 digits are stored in data segment. Make use of a procedure for writing program.

3. (a) Draw the interfacing diagram for 8086 base system configured in maximum mode with following specifications ::-

(i) 8086 working at 5 MHz

(ii) 16 KB EPROM device

(iii) 32 KB SRAM device to include IVT. Use full decoding technique. Draw the memory map for above interface. . ..

(b) What are the conditions that will caues BIU to suspend fetching instructions. Under what condition will the contents of the queue hold the “wrong” op-codes ?

4. (a) Write a program that continuously gets 8-bit data from port Po and sends it to port P2 while simultaneously creating a square wave of 1 kHz on port bit P1.5. Use timet 0 to create square wave. Assume XTAL = 11.0592 MHz.

(b) Write 8051 ‘C’ program to transfer “ENGINEER’ serially at 9600 baud rate. (8-data bits and 1 stop bit). Do this continuously. .

5.(a) Give the addressing modes of 8086 microprocessor with suitable examples. 10

(b) Explain the modes of 8255 PPI which support handshaking (provide necessary timing diagrams)

 

6.(a) 4 x 4 key matrix is to be interfaced to 8051. Show the required interface and write the program to read the pressed key.

(b)Determine the value of register ‘Sp’ after the following instructions are executed.

mov Sp, Offff H .

PUSH f

PUSH C X

CALL DELAY

POP CX.

(c) What is memory segmentation in 8086 ? Explain and give its advantages.

7. Write short notes on (any three) :-

(a) Port structure of 8051

(b) PIC Architecture

(c) Interrupts of 8086

(d) Addressing modes of 8051.

(e) Mixed Language Programming for ~086.

Leave a Comment