Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved

    CS609 Assignment No. 1 Solution and Discussion

    CS609 - System Programming
    cs609 assignment 1 solution discussion spring 2020
    2
    2
    203
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zaasmi
      zaasmi Cyberian's Gold last edited by moaaz

      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 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.
       You have not followed steps described in Detailed Instructions of the problem statement.
       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 with 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 [email protected]

      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 message for that button. For example if the user enter 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 setvect instruction.
      4. Then use scanf to take input in an integer variable i.e scanf(“%d”, &i)
      5. Place service number in AH register. Interrupt 65H will check its value and will perform relevant function.
      6. Interrupt 65H function must check for Service Number using Switch Statement.
      7. 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:

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
      Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      NOTE: Don't copy or replicating idea solutions.
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply Reply Quote 0
      • M
        moaaz Cyberian's Gold last edited by

        Please discuss idea solution

        Discussion is right way to get Solution of the every assignment, Quiz and GDB.
        We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
        Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
        NOTE: Don't copy or replicating idea solutions.

        How to Get Earning from Cyberian

        Quiz Copy Solution
        Mid and Final Past Papers
        Live Chat

        For instructions on how to use this Cyberian discussion board

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        banner
        Insaf Sehat Card Live Cricket Streaming

        100% Off on Your FEE Join US! Ask Me How?

        Quiz 100% Result If you want to know how you can join us and get 100% Discount on your FEE ask Cyberian in Chat Room!
        Quiz 100% Result Quiz 100% Result
        solution1255 discussion1206 fall 2019813 assignment 1433 assignment 2297 spring 2020265 gdb 1248 assignment 382 crw10174 spring 201955
        | |
        Copyright © 2021 Cyberian Inc. Pakistan | Contributors
        Live Chat