Ad Code

CS401 Assignment No. 3 Solution 2021

 

Computer Architecture and Assembly Language Programming (CS401)

Assignment No. 3

 

Total marks = 20                                                                              

 

Deadline Date:

July 15, 2021

Please carefully read the following instructions before attempting assignment.

RULES FOR MARKING

It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if the submitted solution is copied from any other student or from the internet.

You should concern the recommended books to clarify your concepts as handouts are not sufficient.

You are supposed to submit your assignment in .doc or docx format.

Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.

Topics covered:

·         Terminate & Stay Resident

·         Hooking keyboard interrupt service routine

 

                                                                                     

NOTE

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning). Hence refrain from uploading your assignment in the last hours of the deadline. It is recommended to upload the solution file at least two days before its closing date.

If you find any mistake or confusion in the assignment (Question statement), please contact your instructor before the deadline. After the deadline, no queries will be entertained in this regard.

For any query, feel free to email at cs401@vu.edu.pk

 

Q. Write an assembly language program to color the entire screen in two halves. Upon running the program, the left half of the screen should become green when the spacebar key is pressed. After that, when the spacebar key is released, the right half of the screen should become blue. The program should terminate when the Enter key is pressed.

 

What to submit:

Your assignment must be a single Word file with the following three items in it:

1)      Complete assembly language program.

2)      Screenshot of the compilation step. The .asm file name must be the last 5 digits of your VUID. For example, if the VUID is BC020456789, then the file name should be 56789.asm

3)      Screenshot of the final output.

 

 Best of luck!

Post a Comment

2 Comments

Unknown said…
please upload the cs401 assignment 3 solution 2021 thanks
Unknown said…
plz upload the solution file of cs401 assignment no 3 2021
Close Menu