Sunday, January 31, 2010

CS401- Computer Architecture and Assembly Language
Programming
Assignment # 5
Fall 2009
Total Marks: 20
Due Date
Your assignment must be uploaded before or on 4th Feb 2010.
Upload Instructions
Please view the document related to assignment submission process provided to you by the Virtual University to upload the assignment.
Rules for Marking
Kindly 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 someone else
It is in the format other than .doc
Objective
This assignment has been designed to enable you:
To know about working of mouse in DOS
To know about working and manipulation of interrupts
To know about working of TSR
To write, assemble and debug Assembly Language program

Assignment
Write a TSR that enables mouse, display mouse cursor and also tracks mouse position (X, Y coordinates). You have to change example 9.7 (display tick count on the top right of screen) such that it displays cursors horizontal and vertical position on the top right corner of the screen. You have to write mouse routine instead of timer and change printnum routine in such a way that it takes 2 parameters from stack (First parameter is cursor coordinate to be displayed and second parameter is the screen position where it should be displayed). X, Y coordinates should be separated by comma.

What to Submit:
Submit Microsoft Word document containing the assembly language code for the above mentioned program.

No comments:

Post a Comment

 

best kindle covers | ambien sleeping pills