MICROPROCESSORS AND MICROCONTROLLERS - 2(MPMC) DECEMBER 2010 [EXTC] ELECTRONICS AND TELECOMMUNICATION SEMESTER 6
Con.6416-10. (REVISED COURSE) GT-7548(3 Hours) [Total Marks :-100]
N.B:- (1)Question No.1 is compulsory.
(2) Solve any four from remaining six questions.
1. (a) Design 8086 based microcomputer system using minimum mode with following
specification [12 Marks]
- CPU working at 5Mhz
- 32 KB SRAM(16K X 8 Device)
- 32 KB EPROM (8 K X 8 Device)
Clearly show address decoding with appropriate address map using exhaustive decoding.
Draw a neat schematic.
(b) Explain in brief the memory organization of PIC18microcontroller and also explain the purpose of processor stack. [8 Marks]
2. (a) Write a program for PIC18F to read 8 bit data on port B, swap the nibbles and output the
result on port D. [10 Marks]
(b) Explain how an interrupt is processed and interrupt service routine is executed in
PIC18F. [10 Marks]
3. (a) Write a program for performing 32 bit X 32 bit multiplication using 8086. Assume the operands
and result are stored in memory. [10 Marks]
(b) Explain following instructions in PIC18F:- [10 Marks]
i) MOVLW ii) BCF iii) ADDWF iv) RLF v) COMF
4. (a) Give two examples of each types of addressing mode in 8086. [8 Marks]
(i) Direct addressing (ii) Based Addressing
(iii) Based in indexed addressing (iv) Implicit addressing
(b) Explain any two operations of Timer in PCF18F and write a program to calculate delay
of 100 microsecond (frequency 40 MHz). [12 Marks]
5. (a) Write a program to divide the unsigned 16-bit number OFOF h stored in data register REG1
and REG2 (MSB in REG2) by 8. [10 Marks]
(b) Draw interface of 8086-8087 and explain its working with the help of queue status, request/grant
and busy/test interface. [10 Marks]
6. (a) Explain different modes of operations of DMA Controller. [10 Marks]
(b) Write an assembly language program using 8086 instructions for an up counter, which counts
from 00 to 7F (hexadecimal). It start on occurrence of an interrupt and counts up by ten digits
every time the interrupt arrives. [10 Marks]
7. (a) What is segmented memory and what are its advantages? Explain logical and physical address
in 8086. What are default segment assignments and what is segment override? Explain with
suitable examples. [10 Marks]
(b) Explain flag register of 8086. Show with suitable examples how direction flag is useful in
string instructions. [10 Marks]
No comments:
Post a Comment