Computer Science and Information Technology (Csc. 153)
Computer Science and Information Technology (Csc. 153)
csitascolhelp.blogspot.com
Tribhuvan University
Institute of Science and Technology
2065
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Section A
Attempt any TWO questions: (10x2=20)
1. Draw the block diagram of basic microprocessor and explain it. Which block design is simple and
explain it?
2. Why addressing modes are required in microprocessor? Discuss different types of addressing modes
with suitable examples.
3. Write a program in 8-bit Microprocessor to multiply two 16 bits numbers and store in the memory
location starting from 3500h. Save the carry bits in the location starting from 3600h.
Section B
Attempt any EIGHT questions: (8x5=40)
4. Differentiate between PUSH and POP operations. Write a program to illustrate the use of PUSH
operations.
6. What do you understand by address decoding in the case of memory interfacing? Explain address
decoding using 3 to 8 Decoder.
7. Which I/O interface is used in the 8-bit microprocessor? Explain different types of I/O instructions.
8. Why interrupt is required? Draw the block diagram of interrupt handler and explain it.
11. How can you achieve pipelining in the basic microprocessor? Explain any type of basic pipelining with
suitable diagram.
12. Draw the timing diagram for ADD C and explain it.
13. Write an assembly language to display a string “Assembly language coding is difficult” using 16 bit
microprocessor code. Assume any necessary data.
IOST, TU
Prepared By ASCOL CSIT 2070 Batch
Tribhuvan University
Institute of Science and Technology
2066
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Section A
1. Explain the SAP I architecture with suitable block diagram. Compare it with SAP 2 architecture.
2. Explain the application of flags in the microprocessor. Discuss different types of flags with suitable
examples.
3. Write a program in 8-bit Microprocessor to store 60h, BAh, 7Ch and 10h in the memory location
starting from 2000h. add these data and store the result in 3000h and carry flag in 5001h. explain all the
steps.
Section B
Attempt any EIGHT questions. (8x5=40)
5. Write an assembly language program to multiply 05h and 06h. Explain all the steps.
7. What are the functions of I/O interface? Explain it with suitable example.
9. Explain the Basic DMA Operation with required timing diagram. What are the uses of the DMA
transfers?
11. Write an assembly language to display a string “I want to know more about microprocessor” using 16
bit microprocessor code. Assume any necessary data.
12. Why parallel communication is required? Explain with reference to 8-bit system.
13. Differentiate between PUSH and POP operations with suitable example.
IOST, TU
Prepared By Ascol CSIT 2070 Batch
Tribhuvan University
Institute of Science and Technology
2067
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Section A
Attempt any two questions. (10x2=20)
1. Draw the block diagram of SAP2 architecture and explain it. Compare it with SAP1 architecture.
2. Explain the importance of addressing modes in the microprocessor? Discuss the different types of
addressing modes with suitable examples
3. Write a program in 8-bit Microprocessor to multiply two 16 bit numbers (ABCDh and 1234h) and store
in the memory location starting from 3000h.
Section B
Attempt any eight questions. (8x5=40)
5. Write an assembly language program to add two 16-bit numbers (3467h and ACDCh).
8. Why interrupt is required? Draw the block diagram of interrupt handler and explain it.
13. Write an assembly language program to display a string “I like programming in the assembly language”
using 16 bit microprocessor code. Assume any necessary data.
IOST, TU
Presented By ASCOL CSIT 2070 Batch
Tribhuvan University
Institute Of Science and Technology
2068
✡
Computer Science and Information Technology (CSc. 153)
(Microprocessor)
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
(2x10=20)
Attempt any two questions.
1. Explain the operation of 8085 microprocessor using block diagram. Justify that design of control unit is more
difficult.
2. What do you mean by addressing mode? Discuss different types of addressing modes with examples.
3. Write a program in 8-bit microprocessor to store 68h, B3h, COh, and 11h in the memory location starting from
3200h.
Section B
IOST, TU
Presented By ASCOL CSIT 2070 Batch
Tribhuvan University
Institute Of Science and Technology
2069
✡
Computer Science and Information Technology (CSc. 153)
(Microprocessor)
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
(2x10=20)
Attempt any two questions.
2. What are the uses of flags in the microprocessor? Discuss different types of flags with examples.
3. Write a program in 8-bit Microprocessor to store 45h, A0h, B5h and 15h in the memory location staring
from 4000h. Add these data and store the result in 5000h and carry flag in 5001h.
Section B
Attempt any eight questions. (8x5=40)
4. What do you understand by POP operation? Explain the use of POP operation in the case of stack.
8. What do you mean by interrupt vector? Explain in detail about hardware interrupt.
9. Explain the Basics DMA Operation with required timing diagram. What are the uses of DMA transfers?
11. Write an assembly language program to display a string “This is a test program” using 16 bit
microprocessor code. Assume any necessary data.
12. Why parallel communication is required? Explain with reference to 8 – Bit system.
13. What is Fetch and Execute cycle? Explain it with timing diagram.
IOST, TU
Presented By ASCOL CSIT 2070 Batch
Tribhuvan University
Institute Of Science and Technology
2070
✡
Computer Science and Information Technology (CSc. 153)
(Microprocessor)
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
(2x10=20)
Attempt any two questions.
1. Explain with block diagram of SAP – I computer.
2. Write an assembly language program for 8086 microprocessor to read a string from keyboard and display
each work in separate line. The length of input string can be up to 60 characters.
3. List out the instructions for arithmetic and logic operation in 8085 microprocessor and explain with example. Also
mention the effect on flags by each instruction.
Section B ‘
Attempt any eight questions: (8x5=40)
4. What is flag? Explain its importance with suitable example.
5. Discuss the bus system in 8085 microprocessor.
6. Draw the timing diagram of instruction MVI A, 36H and explain it.
7. Explain the function of following signals:
ALE
INTR
TRAP
8. Write a program in 8085 microprocessor to subtract 16 bit number at 2000H from a 16 bit number at 2010H and
store the result at 2020H.
9. Discuss the importance of interrupt in microprocessor based system. Explain how interrupt controller (8529) can
be used to handle interrupts.
10. Observe the following program and write the content of Accumulator, register B and flags after execution of each
instruction. (assume initially al flags are reset)
MVI A, 45H
MVI B, 66H
ADD B
ANI 63H
HLT
11. What are the various registers in 8086 microprocessor? Explain the function of each register.
12. Discuss ADD MUL and DIV instruction of 8086 with suitable examples.
13. Explain briefly on keyboard and display controller.
IOST, TU