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.

CS609 System Programming Assignment No 2 Solution & Discussion Due Date: 19-11-2012

Assignment No. 02
Semester: Fall 2012

CS609: System Programming

 

Total Marks: 20

 

Due Date: 19/11/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.
  • The submitted assignment does not compile or run.
  • Solution is copied from any other source.

 

Objective

The objective of this assignment is to enhance your knowledge about;

  • Basic concepts of Interrupts.
  • Learn how to write your own Interrupt Service Routine.
  • Understand the working of various services of Interrupts.

 

Assignment                                                                  

 

Code a C-language program that shall include your own Interrupt Service Routine (ISR) who’s various services shall perform different mathematical operations as stated below:

 

  • User shall select service no. via AH register as we do in other interrupts and setting different values of AH means choosing different mathematical operation e.g.

            AH=1 means we want to perform Addition

            AH=2 means we want to perform Subtraction

      AH=3 means we want to perform Multiplication

      AH=4 means we want to perform Division

      (Here we restrict ourselves to only these four basic operations)

 

  • Operands shall be passed to interrupt via Register BX and CX e.g. If want to multiply 5 and 6 then we may set BX=5 and CX=6 in our main program and after invoking your Interrupt, you have to collect and display the result in main(). Do write some sample piece of code in your main program to test these various operations.

 

  • Choose an unused Interrupt no. for your interrupt service routine in Interrupt Vector Table.

 

 

Submission

  • You are required to submit Your C-language program (.c file) through LMS.
  • You shall submit a complete program that shall contain both your ISR and its sample testing part in the main().
  • Do use proper comments with in your program so that it becomes easy to understand.

Views: 2740

Replies to This Discussion

mjhy apni id is number per send kro main mail krta hu tm ko assignment solution

if u not mind 03225509570

?????????????????????????????????????????

plz upload solution any body.........

Lecture 04 page 26

just remove the line keep(0, 1000);

mjhy apni id is number per send kro main mail krta hu tm ko assignment solution

if u not mind 03225509570

mjhy apni id is number per send kro main mail krta hu tm ko assignment solution

if u not mind 03225509570

kismesendkerni hy ass

mjhy apni id is number per send kro main mail krta hu tm ko assignment solution

if u not mind 03225509570

plzupload the solution

any one help plz

mjhy apni id is number per send kro main mail krta hu tm ko assignment solution

if u not mind 03225509570

RSS

Looking For Something? Search Below

Top Trends 

Latest Activity

Hania Khalid Shariff is now a member of Virtual University of Pakistan
4 hours ago
saba zulfqar and Mr Siren Head are now friends
7 hours ago
Zeeshan Riaz left a comment for Saima
14 hours ago
Profile IconShehzad Ali, Sehar and Saima joined Virtual University of Pakistan
yesterday
Mr Siren Head replied to Mani Siddiqui's discussion مشکل پاسورڈ
Wednesday
Mr Siren Head replied to Mani Siddiqui's discussion مشکل پاسورڈ
Wednesday
+ I A commented on + M.Tariq Malik's page Chit Chat Wall
Wednesday
Mr Siren Head commented on + M.Tariq Malik's page Chit Chat Wall
Wednesday

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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