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.


Assignment No. 01
Semester: Fall  2016

CS609 – System Programming



Total Marks: 15


Due Date: 18/11/2016


Uploading instructions:


  • Your assignment must be in .c format. (Any other formats like scan images, Word, PDF, Zip, rar, bmp, etc will not be accepted).
  • Save your assignment with your ID (e.g. bc020200786.c).
  • No assignment will be accepted through email.


Rules for Marking:


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, execute or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).




Question No1 :     (05 Marks)


Explain four  lines the Followed code (only one lines answer per line)


Unsigned int far * scr = 0xb8000000;// Line 1

Void main ()                     //Line 2


( *scr) = 0x7074;             // Line 3

(*(src+2)) =0770;            //Line 4




Question No2 :     (10 Marks)


Write a TSR program that will clear all the contents of the screen and write your ( SYSTEM PROGRAMMING) anywhere on screen of the video text memory available at 0xB8000000 whenever interrupt 8 is invoked.  Also, note that the fore color of SYSTEM PROGRAMMING should be white and back color should be blue.



NOTE: If you are feeling any difficulty while making your program a TSR program then it is recommended to view the “How_to_generate_COM_file_and_Execute_TSR_Program.ppt” file available at download section of CS609. Do not put any query on MDB about this assignment, if you have any query then email at






Deadline: Your assignment must be uploaded/submitted on or before 18th November 2016.



Views: 8475

Replies to This Discussion

notepad m write karo save as "name.c"
bin folder m save karo
compile karo
or run karo
ppt file m completed method hy
download kar lo

Bahi jan 1st question ka pooch rha hu iss ko kasy may tsr k program may .c k sath add kero ku k iss ko save kiya to program ne chly ga iss ka bato kaya kerna ha

terboo c++ me likh skty ya assignment

pls shear code 2nd question ka 

Golden Rock check mdb may b instructor already replied this query if not then ask .

golden rock bahi plz give me cs609 solution plz mujy to msj nhia ri na hi muj say ban ri hai plz

koi to send kr do 

2nd Question me TSR program ki coding smjh nhi aarhi hai aur 2nd progam ko agr .c extension me submit krna hai to 1st question ka answer kaise submit krna hai?

Both question should be save in MS Word format.

74  Lowercase t

70  Lowercase p

# include //
# include //
void main() //main is the default entry point of a C (and C++)
clrscr(); // use for clear the screen
Unsigned int far * scr = 0xb8000000;// far pointer scr is assigned the value xb800H in the high word
(*scr) = 0x7074; // t
(*(src+2)) =0770; // p
(*(scr+3))=0x0153;// S
(*(scr+4))=0x0159;// y
(*(scr+5))=0x0153;// S
(*(scr+6))=0x0154;// T
(*(scr+7))=0x0146;// E
(*(scr+8))=0x014D;// M
(*(scr+9))=0x0150;// P
(*(scr+10))=0x0152;// R
(*(scr+11))=0x014F;// O
(*(scr+12))=0x0147;// G
(*(scr+13))=0x0152;// R
(*(scr+14))=0x0141;// A
(*(scr+15))=0x014D;// M
(*(scr+16))=0x014D;// M
(*(scr+17))=0x0149;// I
(*(scr+18))=0x014E;// N
(*(scr+19))=0x0147;// G
getch ();
return 0;


(*scr) = 0x7074; // t
(*(src+2)) =0770; // p
These two lines will not use in this code.
These two lines belongs to Question#1.

And also you write small "y"



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

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