Assignment No. 04 (32)
Semester: Spring 2012
CS401: Computer Architecture and Assembly Language Programming
Total Marks: 20
Due Date: 21 June,2012
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
Solution is copied from any other source.
Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted.
Objective
The objective of this assignment is to enhance your knowledge about;
Interrupts
Debugger using Single Step Interrupt
Debugger using Breakpoint Interrupt
Concepts of Multitasking
Multitasking Kernel as TSR
Assignment
Please provide brief answer to each question (maximum 5 lines) .Write all questions in your own words.
Question No 1:
a) Interrupts are used to invoke system activities that have to be performed on regular basis. Programmable interval timer (PIT) is using triggers that interrupt when it reaches the programmed count. Find out whether the frequency of Programmable Interval Timer (PIT) is fixed or not (for IBM PC compatibles)? Also give example how time tick generated through Programmable Interval Timer?
(Marks 10)
b) Write down the instructions those are used to inform the PIC about the end of an interrupt?
(Marks 5)
c) PCB (Process Control Block) is a space where all registers of a task are stored. Describe how many bytes are needed to structure PCB and also explain different purposes of these bytes?
(Marks 5)
CS401 Assignment No 04 Due Date:21-06-2012
Moderator: abdulsaboor