Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Problem Statement:

Write a TSR (Terminate and Stay Resident) program, by using interrupt 65H, that will print course code i.e. CS609 when 0 is pressed by the user from keyboard, course name i.e. System Programming when 1 is pressed by the user and print Virtual University of Pakistan when 2 is pressed from Keyboard.

Detailed Instructions:

  • In this program, you will implement interrupt 65H which is currently not used by operating system.
  • Interrupt 65H function must check for Service Number – if service number is 0, course code will be printed and if service number is 1, full name of the course will be displayed. In order to implement this, place service number in AH register. Interrupt 65H will check its value and will perform relevant function.
  • Course Code or course name must be printed at the beginning of monitor text memory area, 0xb8000000
  • Calculate Attribute Byte for both course code and course name according to the following criteria:
    1. Text blinking: No
    2. Background color: White
    3. Foreground color: Black
    4. Bold text: No
  • Visit this link: for complete ASCII table. This table is also available in the Downloads section of LMS.
  • Use keep() function to make this program TSR.
  • After writing interrupt 65H, write a test function which will take input from user (for example: Enter 0 for printing course code, 1 for printing Name of course and 2 for printing Virtual University of Pakistan), place relevant service number in AH register, and generate interrupt function. You may use switch statement for this.
  • Your assignment file should be a single Word file (.doc or .docx) containing:
    1. Complete interrupt function (both services must be implemented)
    2. Test function to generate interrupt as given in instruction # 7
  • You can use Consolas font for enhancing readability of the code in Word file.


You should NOT use interrupt 21/09H to display Student ID or Name. It must be displayed only by accessing monitor text memory area.

Best of Luck!

Views: 4527


Replies to This Discussion

Friends, Discuss

AOA kindly share the idea of assignment please

Assignment plz share cs609

mujy lagta ha kisy ki kuch smj main nhhy arhy

kuch samjh nhi a rhi iski.

Bht dificult hai ma mada banda hun kuch nahi samajh lag rahi

please any1 Give idea to solve it :-(



yeh kis software me bnani hai???

Email, cell no, facebook personal links, links sharing for promotion any kind of site & youtube direct link sharing is not allowed at the site.


Although If you want to share the youtube video, then paste the embed codes here of the youtube video. Otherwise your comment / reply will be deleted. As well as your account will be deleted from the site. Thanks for understanding.

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service