GTU Computer Engineering (Semester 5)
Microprocessor & Interfacing
December 2015
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


Answer the following Questions:
1(a)i How many maximum memory locations and I/O devices can be addressed by an 8085 microprocessor?
1 M
1(a)ii How much time will be required to execute the STAX B instruction if the clock frequency is 4 MHz?
1 M
1(a)iii Explain the CMP instruction with the help of an example.
2 M
1(a)iv Explain the use of HOLD and HLDA pins of 8085 microprocessor.
2 M
1(a)vi State the difference between Op-code fetch (OF) and memory read (MR) cycles.
1 M
1(b) Draw the timing diagram of the instruction: LXI B, 2100H. Explain all the stages of instruction execution.
7 M

2(a) Explain following instructions with no. of bytes, machine cycles and T-states required for execution: 1. LHLD 2. RAR 3. XTHL 4. ADI
7 M
Solved any one question from Q.2(b) & Q.2(c)
2(b) Write an 8085 assembly language program to separate out the numbers between 2010 and 4010 from an array of Ten numbers stored on memory locations 2000H onwards. Store the separated numbers on a new array from 3000H onwards.
7 M
2(c) An array of Ten numbers is stored from memory location 2000H onwards. Write an 8085 assembly language program to separate out and store the EVEN and ODD numbers on new arrays from 2100H and 2200H, respectively.
7 M

Solved any one question from Q.3 & Q.4
3(a) Design an 8085 microprocessor system such that it should contain 16KByte of EPROM and 4KByte of RAM with starting addresses 0000H and 4000H respectively. Use two 8KByte of EPROMs (2764) and two 2KByte of RAMs (6116) for this system.
7 M
3(b) Write an 8085 assembly language program to generate a decimal counter (which counts 0 to 9 continuously) with a one second delay in between. Also write a subroutine DELAY for generating a 1 second delay. Assume a crystal frequency of 2MHz.
7 M

4(a) Draw an interfacing diagram to connect 8 DIP switches through input port with address 55H and 8 LEDs through output port with address AAH with 8085 microprocessor.
7 M
4(b) What is an ISR? Differentiate between a Subroutine and an ISR. Write an 8085 assembly language program to continuously read an input port with address 50H. Also write an ISR to send the same data to output port with address A0H when 8085 receives an interrupt request on its RST 5.5 pin.
7 M

Solved any one question from Q.5 & Q.6
5(a) Explain the block diagram of 8255- Programmable Peripheral Interface
7 M
5(b) Write an 8085 assembly language program to convert a two-digit BCD number into its equivalent hexadecimal number.
7 M

6(a) Explain the block diagram of 8259- Programmable Interrupt Controller.
7 M
6(b) Write an 8085 assembly language program to convert an 8-bit hexadecimal number into its equivalent decimal number.
7 M

Solved any one question from Q.7 & Q.8
7(a) List the four major processing units in an 80286 microprocessor and briefly describe the function of each.
7 M
7(b) Explain the Page Table and Page Directory Entry with example.
7 M

8(a) Briefly explain the virtual 8086 mode of 80386 microprocessor.
7 M
8(b) What is a descriptor table? What is its use? Differentiate between GDT and LDT.
7 M



More question papers from Microprocessor & Interfacing
SPONSORED ADVERTISEMENTS