Microprocessor

advertisement
POKHARA UNIVERSITY
Level: Bachelor
Programme: BE
Course: Microprocessors
Semester – Spring
Year
: 2006
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.
The processing speed of Harvard’s architecture of computer system
is faster than Von Neumann’s machine. Explain with block diagram
of each.
What do you mean by ’16-bit microprocessor’? Explain some
application of microprocessor.
Why flag is register essential in microprocessor? Explain different
flags of 8085 microprocessor.
5
2. a)
Write an Assembly Language Program (ALP) using 8085
instructions to copy ten bytes of data from memory location COOOH
– COO9H to new location DOOOH-DOO9H.
7
b)
Draw and explain the timing diagram for the 8085 instruction
ADI 40H.
8
3. a) Explain the functions of the following pins of 8085 microprocessor:
TRAP, HLDA, ALE, CLK(OUT), IO/ M , READY, SID
7
b) Write an ALP using 8085 instruction, to generate a continuous square
wave with the period of 250 s. Assume the clock period is 0.33 s
and use bit D4 to output the square wave. Show the delay calculation
also.
8
4. a) Write an ALP using 8086-instructions to find the factorial of a given
number and store the result at effective address DOOOH.
5
b) Write an 8086 ALP using DOS/BIOS interrupts to accept a string
from a keyboard and display it to console.
5
c) What do you mean by addressing mode? Explain different addressing
modes of 8086 microprocessor.
5
5. a) Draw the block diagram of Intel 8086 and explain the functions of
each sub-block.
8
b) Differentiate between serial and parallel communication. Explain
7
1. a)
b)
c)
5
5
RS-232C standard for serial communication.
6. a) Point out the importance of interrupts for a microprocessor based
system. Explain the 8085-interrupts.
7
b) Draw a circuit to interface 4096  8 RAM with 8085 microprocessor.
8
7. Write short notes on (Any Two):
a) RIM and SIM instructions
b) Subroutine instructions
c) RTL
52
Download