Microprocessor & Interfacing 2018 Question Paper — Government College…
The 2018 Microprocessor & Interfacing previous year question paper (Government College of Engineering and Technology, Jammu), with every question and its marks.
- University: Government College of Engineering and Technology, Jammu
- Subject: Microprocessor & Interfacing
- Course: MICROPROCESSOR & INTERFACING
- Branch: Comp. Engg
- Year: 2018
- Paper: end-term
- Duration: 180 minutes
- Total marks: 100
Instructions
- Attempt five questions in all, selecting at least two from each section.
Questions
Section A
- Q1. (a) Draw the architectural diagram of 8045 microprocessor and list out the following : (i) General Purpose Registers (ii) Special Purpose registers with their functions (iii) Flags in the flag register with required explanation. (b) Explain the purpose of the following signals in 8085 (i) READY (ii) AD0-AD7 (iii) HOLD (iv) IO/M (v) INTR. [20 marks]
- Q2. (a) Draw and explain the timing diagram for the instruction STA XX50H stored at memory location XX70H (b) Write an ALP in 8085 to find a maximum number in the array of 10 numbers. [20 marks]
- Q3. (a) Explain the following instructions : (i) LDAX B (ii) DAD B (iii) XRA M (iv) PCHL (v) RST 5 (b) Write a program to count from 0 to 20H with a delay of 100 ms between each count. After the count 20H, the counter should reset itself and repeat the sequence. User register pair DE as a delay register. Show the delay calculations. [20 marks]
- Q4. (a) Design a memory interface in an 8088 based system with 64KB SRAM and 16KB EPROM. The SRAM starts at 00000H address and EPROM ends at FFFFFH. All the memory chips are of size 16KB. Use 74LS138 decoder. (b) Design a seven segment LED output port with device address F5H. It is a common anode segment LED. Generate IOW control signal. Write instructions to display digit 5. [20 marks]
Section B
- Q5. (a) With a neat block diagram explain the working of 8237 DMA controller. (b) Discuss about the following control words of 8255. (i) Mode set control word (ii) Bit set/reset control word. [20 marks]
- Q6. (a) Write the BSR control word to set bit 3 of port C and also write the BSR control word to reset bit 3 of port C. Introduce a 1 msec delay between set and reset of bit 3 of port C. (b) Distinguish between a memory read and write machine cycle. Draw the timing diagrams in minimum and maximum modes of operation. [20 marks]
- Q7. (a) Describe the function of the following pins and their use in 8086 based system : (i) NMI (ii) LOCK (iii) TEST (iv) RESET (v) TEST (vi) RQ/GT0 and RQ/GT1 (vii) QS0 and QS1 (viii) s0, s1, s2. (b) Explain the memory organization of 8086 microprocessor. Draw the timing diagram of a typical memory write machine cycle. [20 marks]
- Q8. The register contents of 8086 is given below. CS = 4000H, DS = B000H, SS = C000H, ES = 7000H, SI = 2000H, DI = 3000 H, BP = 1000H, SP = 0002H, AX = 0000H, BX = 5200H, CX = 8000H, DX = 2800H Calculate the effective address and physical address of the following instructions : (a) MOV CL, [BP + BX-30D] (b) AND DX, ES : [SI] (c) PUSH BX (d) SUB DL, [DI] (e) MOVSB (f) CMP AX, [DI] (g) ADC DX, [DI + 8D] (h) IMUL AX, [SI + 2D] [20 marks]