Your browser does not support JavaScript!'

CS609 System Programming Assignment 1 Spring 2020 Uploaded ~ VUSs

Welcome to VUSs, as you guys know. VUSs is all about Computer Science's fundamentals and Tests Preparation.
All published articles are organized in simple, easy, and short English sentences to familiarize the students with computer science.
In that respect today's article is CS609 System Programming Assignment 1 Spring 2020 Uploaded


Today's Topic
CS609 System Programming Assignment 1 Spring 2020 Uploaded


Semester: Spring 2020
CS609: System Programming
Graded
Assignment No. 01
Total Marks: 20

Due Date: May 27, 2020

Instructions:

Please read the following instructions carefully before submitting the assignment. It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • You have not followed the steps described in Detailed Instructions of the problem statement.
  • The assignment is copied (partial or full) from any source (websites, forums, students, etc.) Strict action will be taken in this regard.

Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded zero marks.

Objectives:

The objective of this assignment is to provide hands-on experience of System Programming concepts including:

  • Basic interrupts
  • Invoking interrupts
  • Register Values




For any assignment related query, contact at CS609@vu.edu.pk



Problem Statement:
Q: Write C program to switch on any one of the toggle button i.e Caps Lock, Scroll Lock, and Num Lock by taking any one input i.e 1,2, and 3 respectively. Using Switch Case Statement, switch on the appropriate toggle button and show a message for that button. For example, if the user enters 3 then Num Lock should be on and message should be displayed “Num Lock is On”
Store all the following 5 lines of strings in 5 array st1,st2,st3, st4, st5 and through interrupt 65H print proper message i.e
Which toggle button you want to switch on:
Press 1 for Caps Lock
Press 2 for Scroll Lock
Press 3 for Num Lock
Press Key(1/2/3):
Instructions:
1)      Include all header files and declare 5 string arrays for messages.
2)      You should save interrupt 65H vector in a pointer to vector variable name oldint65 through getvect instruction.
3)      Call any new function i.e newint65( ) through select instruction.
4)      Then use scanf to take input in an integer variable i.e scanf(“%d”, &i)
5)      Place service number in the AH register. Interrupt 65H will check its value and will perform the relevant functions.
6)      Interrupt 65H function must check for Service Number using Switch Statement.
8)      Use keep() function to make this program TSR.
Note: Your assignment solution will be in this Word file (.doc or .docx)containing code of C 
Best of Luck!

Solution:


CS609

Coourse Tittle Solution Download Status
CS609 System Programming Visit Dowload

Uploaded

Post a Comment

0 Comments

^