Electronics & Communications Engineering MICROPROCESSOR & ITS APPLICATIONS

Started by ganeshbala, Sep 26, 2008, 07:30 PM

Previous topic - Next topic

ganeshbala

2008 Punjab Technical University B.Tech Electronics & Communications Engineering MICROPROCESSOR & ITS APPLICATIONS Question paper

B.Tech.(Sem-5th )

MICROPROCESSOR & ITS APPLICATIONS (EC-307)

Time:03 Hours Maximum Marks:60
Instructuions to Candidates:
1) Section-A is Compulsory.
2) Attempt any Four questions from Section – B.
3) Attempt any Two questions from Section –C.

Section – A
Q1)
a) What are tri-state devices and why are they essential in bus-oriented system?
b) What is stack? What are its functions?
c) Specify the number of registers and memory cells in a 128x4 memory chip.
d) Explain the need to demultiplex the bus AD7-AD0 .
e) List the sequence of events that occurs when the 8085 MPU reads from the memory.
f) What is the difference between the machine language and the assembly language of the 8085 microprocessor?
g) What are the functions of the instruction pointer and stack pointer in Intel 8086?
h) Describe the action associated with the RET instruction in 8085.
i) Differentiate between synchronous and asynchronous data transfer.
j) What is the purpose of memory segmentation in Intel 8086?


Section –B
Q2) Specify the handshake signals and their functions if port A of the 8255A is set up as an output port in mode 1.
Q3) Design a counter to count continously from 00H to FFH with 500ms delay between each count. Display the count at PORT1 and PORT2 (one digit per port) with a common –anode seven-segment-LED code.
Q4) Define machine cycle and instruction cycle. Identify the machine cycles in the instruction IN02H and draw the timing diagram for the same.
Q5) Discuss the various addressing modes of 8086. What is the effective address or offset?
Q6) What are vectored and non-vectored interrupts in 8085? Also explain the function of the instructions RIM and SIM.
Section-C
Q7) Draw the block diagram architecture of Intel 8086 and explain the function of each block.
Q8) D raw the block diagram architecture of the programmable interval timer and explain its modes of operation.
Q9) Write short notes on:
(a) Interrupts in 8086.
(b) Dynamic debugging.

ganeshbala

B.E. ELECTRONICS AND COMMUNICATION ENGINEERING

EC331 - MICROPROCESSOR AND ITS APPLICATIONS



Time: 3hrs Max Marks: 100



Answer all Questions

PART - A (10 x 2 = 20 Marks)

1. State the function of HOLD pin in 8085.

2. Write 8085 assembly language instructions to store the contents of the Flag Register in memory location 2000H.

3. Explain DJNZ instructions of Intel 8031 Micro controller.

4. Determine the contents of the accumulator after the execution of the following program segments

MOV A,# 3CH

MOV R4,66H

ANL A,R4

5. State the function of Direction flag in 8086

6. Describe the difference between the instructions MOV AX, 2437H and MOV AX, [2437H]

7. How does Port C of 8255 differ from ports A and B.

8. Explain the function of in-service register in 8259 programmable interrupt controller.

9. Draw a circuit to interface a stepper motor winding to a microprocessor port bit using power MOSFET

10. Why Gray code is used in Shaft angle encoder.

PART - B (5 x 16 = 80 Marks)

11.a) Draw the circuit diagram of an 8085 system having a 4 KB EPROM and 8 KB RAM ICs. The starting address of the EPROM is 0000H and that of RAM is 8000H. The address decoder circuits should be clearly shown.

(OR)

11.b) Write a subprogram using 8085 assembly language to multiply two 8 bit binary numbers by repeated addition.

12.a)i) Determine the value of the accumulator after the execution of instructions A:,B:, C: and D:

MOV 40H , #88H

MOV R0 , #40H

A: MOV A , R0

B: MOV A, @R0

C: MOV A, 40H

D: MOV A, #40H

ii) With neat diagram explain the timer / counter functions in 8051 Micro Controller.

(OR)

12.b) Using ports P0 and P1 of 8051 micro controller design an 8 digit 7 segment multiplexed display system. Use suitable driver circuit and give flowchart for the software involved.

13.a)i) With neat diagram explain how the memory is interfaced to 8086 as odd and even page.

ii) Write an 8086 subroutine to test a system in address 00200H- 07FFFH.

(OR)

13.b) Describe in detail the memory management functions in Intel 80286/80386 Processor

14.a) With block diagram describe the working of a DMA controller.

(OR)

14.b) With a neat diagram describe how the DAC 1408 can be interfaced to the micro controller 8031.Using this hardware write 8031 assembly language to generate a Triangular wave.

15.a) Using DC servomotor and shaft angle encoder as sensor design a Microprocessor based position control system.

(OR)

15.b) Describe how a closed loop microprocessor based process control system can be implemented by using digital PID control algorithm.