Computer Architecture and Assembly Language Programming Management,
Assignment:
Rules for Marking
Please note that your assignment will not be graded if:
- It is submitted after due date
- The file you uploaded does not open
- The file you uploaded is copied from some one else
- It is in some format other than .doc
Objective
The assignment has been designed to enable you:
- To know about Real time interrupts.
- To know about Terminate and Stay Resident Program.
- To know about Parallel Port.
Q#1. Answer the following questions:
a. Why we disable the interrupts system while hooking the interrupt.
b. Which instructions are used to tell the PIC about the end of an interrupt?
c. What is the difference between function 4C and 31 of INT 21h?
d. Which I/O ports are used for data and acknowledgement to the parallel ports?
e. Which bit of acknowledge is used to generate IRQ7
Q#2. Write a keyboard interrupt handler that disables the timer interrupt (no timer interrupt should come) while left shift is pressed. It should be re-enabled as soon as left shift is released.