Bsc Csit Nepal

2071

Microprocessor

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

Long Questions:

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

  1. Draw and explain the functional block diagram of 8085 microprocessor.
  2. Write a program in 8-bit microprocessor to multiply two 16-bit numbers and store in the memory location starting from 3500H. Save the carry bits in the location starting from 3600H.
  3. List the elements of the 8255A programmable peripheral Interface and explain its various operating modes in detail.

Short Questions

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

  1. List bidirectional registers of SAP2. Why bidirectional? Explain.
  2. Compare and contrast microprocessor, CPU and microprocessor.
  3. Define maskable and non-maskable interrupt. Explain the role of TRAP in 8085 microprocessor.
  4. The contents of the accumulator are 93H and the contents of register C are B7H. Explain the status of different flags after adding the content of registers A and C.
  5. Illustrate the steps and the timing of data flow when the instruction code 4FH stored location 2005H is fetched by the microprocessor unit.
  6. Explain the role of wait states to synchronize the execution speed of microprocessor with the response time of memory while transferring data.
  7. Write an assembly language program to subtract two 16-bit numbers.
  8. Define bus. Describe the function of different types of buses in reference to the 8085 microprocessor.
  9. What is an interrupt? Explain software interrupt in detail.
  10. What do you understand by macro assembler? Explain.