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: 4544


Replies to This Discussion

btA DO KOI YR AJ LAST DATE HA !!!!!!!!!!!

mujhay ye problem hai k docx format may coding jama karni hai ya c compiler say screen shots laini hai.please help

code ko print karna msword format ma submit karwana code ko

koi hal ni

koi tu share kry  

aoa friends

share any idea solution

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

Hope this could help ....


msword file ma upload kar dy  hammad bhai

O Bhai Ruk Jaen Solution Bana ra hon Sab ko Mily ga 

ok shakeel bhai

Hyyyy Every one Don't worry about this assignment of cs609 i provide this assignment correct solution few time please w8.......


Looking For Something? Search Below

Latest Activity

+ ! ! ! ! ! ! ! Captain+ replied to иαвєєℓ αнмє∂'s discussion Kya hal hain ning awam?
1 hour ago
+ ! ! ! ! ! ! ! Captain+ replied to иαвєєℓ αнмє∂'s discussion Kya hal hain ning awam?
1 hour ago
Batool updated their profile
1 hour ago
Terry Brown replied to irshad kausar's discussion math
2 hours ago
Profile IconTerry Brown and Fahad Chaudhary joined Virtual University of Pakistan
2 hours ago
+ Dazzling smile updated their profile
5 hours ago
Muhammad Rizwan Ansari liked Karina Lopez's profile
8 hours ago
alvia khan and Shoaib Hasan Khan are now friends
9 hours ago

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

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