Microprocessor - Question paper 2074
Syllabus Notes Old Questions & solutions lab & practicals Text & reference booksTribhuwan University
Institute of Science and
Technology
2074
Computer Science and Information Technology(CSC162)
(Microprocessor)
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.
Pass Marks: 24
Time: 3 hours
Section A
Attempt any two questions:(10 x 2 = 20)
2. Ten number of 8-bit data stored at memory location 6000H. Write a program for 8085 microprocessor to calculate the sum of odd numbers and store the sum of odd numbers and store the sum at 6010H.(The sum may exceed 8-biys).
10 Marks
3. What are the instructions available in 8085 microprocessor for arithmetic and logic operation? Explain each with example. Also mention, how the flags are affected by each instruction.
10 Marks
Section B
Attempt any EIGHT questions(8 x 5 = 40)
5. Draw the timing diagram of instruction MVI B, 9 bit stored a memory location 4050H and explain it.
5 Marks
6. Observe the following program and write the content of Accumulator, register B and flags after execution of each instruction.(assume initially all flags are reset)
MVI A, 59H
MVI B, 67H
ADD B
ANI 3AH
HLT
5 Marks
9. Write an assembly language program for 8086 microprocessor to display"Computer Science and Information Technology" .
5 Marks
10. What are the registers available in 8086 microprocessor? Mention the function the function of each register.
5 Marks
11. What is the importance of interrupt in microprocessor based system? Explain how interrupt controller(8259) can be used to handle interrupts.
5 Marks
12. What are the differences between parallel and serial communication? Explain RS 232 interface.
5 Marks