Pokhara University
Bachelor of Engineering in Computer Engineering
Semester 3 · PU Spring 2023
Course Title: Microprocessor
Full Marks: 100Pass Marks: 45Time: 3hrs.
Candidates are required to give their answers in their own words as far as practicable.
- 1.15
- a) Differentiate between Microprocessor and Microcontrollers. Explain how the microprocessor is organized in microprocessor-based system.
- b) Explain the block diagram of the 8085 microprocessors.
- 2.15
- a) What is flag? Discuss about 8085 associated flags. With suitable examples show how these flags are affected by arithmetic and logical group of instructions.
- b) Write an ALP to find out the greatest number among ten 8- bit data stored in memory location COO0H to COO9H. Also store that value in DOOOH.
- 3.15
- a) Draw and explain a well labelled timing diagram of the instruction LDA 2000H and calculate the total execution time if clock frequency is 2 KHZ.
- b) What is the significance of 8255 PPI? Draw and explain the control word for 8255 PPI in I/O mode.
- 4.7
- a) Draw and explain block diagram of 8259A programmable interrupt controller in detail.
- b) Why do we need DMA in microprocessor? Explain the block diagram sg of DMA controller.
- 5.15
- a) Draw and explain the internal architecture of 8086 microprocessor. Explain flag register of 8086 microprocessor.
- b) Explain the salient features of 8086 microprocessor over its predecessor 8085.
- 6.15
- a) Write an ALP for 8086 to user input a string from the keyboard and = display its reverse form in the screen. = Re. aa 1
- b) What are advantages of serial i/o communication over parallel i/o. Explain how the handshaking assures the reliability in data transfer in parallel i/o communication with examples.
- 7.
Write short notes on: (Any two) 2x5
- a) Asynchronous serial data communication
- b) Rs-232 standard
- c) Addressing modes —_—_e 2
— The End —