Bsc Csit Nepal

2072

Microprocessor

Full Marks: 60
Pass Marks: 24
Time: 3 hours

Long Questions:

Attempt any two questions: (2 × 10=20)

  1. Explain the importance of addressing modes in the microprocessor. Discuss different types of addressing modes with examples.

  2. Draw the block diagram of SAP2 architecture and explain it. Compare it with SAP1 architecture.

  3. Describe different types of 8085 instructions sets, based on word size, with suitable examples. Write instructions to load two hexadecimal numbers 32H and 48H in register A and B respectively. Add the numbers and display the sum at the LED output port PORT1.

Short Questions

Attempt any eight questions: (8 × 5=40)

  1. Explain the application of different flags with suitable examples.
  2. What is an interface? Explain about RS-232 interface with example.
  3. What is DMA? Explain DMA data transfer with suitable diagram.
  4. Define stack. Write programs to illustrate PUSH and POP operations.
  5. Assume that the accumulator holds the data byte FFH. Explain the differences in the flag set by adding 01H and by incrementing the accumulator contents.
  6. Draw and explain the timing diagram for the execution of the instruction MVI A, 32H.
  7. Why serial and parallel communication are used in a computer system? Explain.
  8. What do you understand by assembler directives? Explain with suitable examples.
  9. Write and explain assembly language program to multiply 05H and 06H.
  10. Define interrupt and vectored interrupt. Can the microprocessor be interrupted again before the completion of the first interrupt service routine? Explain.