GTU Computer Engineering (Semester 4)
Microprocessor And Interfacing
December 2014
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Interface 8K of EPROM and 4K of RAM with 8085 microprocessor. EPROM memory address begins at 0000H and RAM address begins at 8000H. Write memory address ranges used for EPROM and RAM in your design.
10 M
1 (b) Draw schematic to generate read/write control signals for memory and input/output of 8085 microprocessor.
4 M

2 (a) Assume that ROM location 201AH contains instruction MOV C, A having opcode 4FH. Draw and explain timing diagram for opcode fetch machine cycle of this instruction.
7 M
2 (b) Write instruction format and explain with the help of appropriate example showing contents of registers/memory locations before and after execution of the instruction.
(i) STAX (ii) DAD
7 M
2 (c) Write instruction format and explain with the help of appropriate example showing contents of registers/memory locations before and after execution of the instruction.
(i) LDAX (ii) DAA
7 M

3 (a) Two 8-bit numbers are stored in memory locations D000H and D001H. Write an assembly language program to multiply them and store the result in memory locations E000H (LSB) onwards.
7 M
3 (b) Five data bytes are stored in memory location C001H to C005H. Count number of ones in each byte and store this count in corresponding memory locations D001H to D005H.
7 M
3 (c) An array of data bytes is stored beginning from memory location 2001H. Length of this array is stored in location 2000H. Find largest number of the array and store it in memory location 3000H.
7 M
3 (d) Ten 8-bit signed numbers are stored in memory locations beginning from 8000H. Move all negative numbers in memory locations beginning from 9000H.
7 M

4 (a) Generate a square wave of 5KHz on D0 of output port 80H using appropriate DELAY subroutine assuming crystal frequency of 4MHz. Show your delay Calculations.
7 M
4 (b) Interface 8255 with 8085 microprocessor and connect DIP switches to port A and LEDs to port B of 8255. Write an assembly language program to read the DIP switches connected to port A and display its status on corresponding LEDs connected to Port B of 8255.
7 M
4 (c) With the help of neat diagram explain data transfer during the execution of CALL 507BH instruction stored in memory beginning from 40A2H.
14 M

5 (a) Compare memory mapped and peripheral mapped I/O in detail.
7 M
5 (b) Draw and explain block diagram of 8259A programmable interrupt controller.
7 M
5 (c) Interface 8-bit digital to analog converter with 8085 microprocessor. Write a program to generate sawtooth wave using DAC.
7 M
5 (d) Draw and explain block diagram of 8255A programmable peripheral interface device. What do you mean by BSR mode?
7 M



More question papers from Microprocessor And Interfacing
SPONSORED ADVERTISEMENTS