Microprocessor 2071

Tribhuwan University
Institute of Science and Technology
2071
Bachelor Level / Second Semester / Science
Computer Science and Information Technology ( CSC-153 )
( Microprocessor )
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Section A

Attempt any two questions.(2x10=20)

1. Draw and explain the functional block diagram of 8085 microprocessor.

10 marks view

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.

10 marks view

3. List the elements of the 8255A programmable peripheral Interface and explain its various operating modes in detail.

10 marks view

Section B

Attempt any eight questions: (8x5=40)

4. List bidirectional registers of SAP2. Why bidirectional? Explain.

5 marks view

5. Compare and contrast microprocessor, CPU and microprocessor.

5 marks view

6. Define maskable and non-maskable interrupt. Explain the role of TRAP in 8085 microprocessor.

5 marks view

7. 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 marks view

8. Illustrate the steps and the timing of data flow when the instruction code 4FH stored location 2005H is fetched by the microprocessor unit.

5 marks view

9. Explain the role of wait states to synchronize the execution speed of microprocessor with the response time of memory while transferring data.

5 marks view

10. Write an assembly language program to subtract two 16-bit numbers.

5 marks view

11. Define bus. Describe the function of different types of buses in reference to the 8085 microprocessor.

5 marks view

12. What is an interrupt? Explain software interrupt in detail.

5 marks view

13. What do you understand by macro assembler? Explain.

5 marks view