Microprocessor and Asembly language prgrm

advertisement

POKHARA UNIVERSITY

Level: Bachelor

Programme: BE

Semester – Fall

Course: Microprocessor and Assembly Language

Programming

Year : 2005

Full Marks: 100

Time : 3hrs.

Candidates are required to give their answers in their own words as far as practicable.

The figures in the margin indicate full marks.

Attempt all the questions.

1.

a) What are the addressing modes of 8085? Explain briefly with example. b) Draw a timing diagram for 8085 instruction MOV, BA.

2.

a) Draw the block diagram of Intel 8086 and explain in brief the purpose of bus interface unit and execution unit. b) How is macro different from procedure? Write a program that uses procedure to swap the content of two memory locations.

3.

a) Write an assembly language program that accepts a string from keyboard. If the string is "Nepal" display the message, your password is correct" else display ''invalid password''.

8

7

8 b) Differentiate between minimum and maximum mode of operation of

8086 microprocessor.

4.

a) How is daisy chaining method used for interrupt priority management?

Explain with a suitable diagram. b) Write a subroutine to add from 1 to 100 and place the result in register

AX.

5.

a) Differentiate between asynchronous and synchronous data communication. Explain about any one of the physical communication standard used in serial communication. b) How does DMA controller work? Clarify using suitable diagram.

6.

a) Describe the internal architecture of programmable interval time. b) How are multiple process managed in a single processor multiprogramming system? Explain briefly.

7.

Write short notes on (Any Two) a) Virtual memory b) Bus c) Semaphore operations

8

7

7

8

7

2×5

8

7

8

7

Download