Computer Architecture and Assembly Language Programming (CS401)
Assignment # 03
Total marks = 20
January 20, 2020
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 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.
• BIOS VIDEO SERVICES AND GRAPHICS MODE SERVICES
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 etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
For any query, feel free to email at [email protected]
Suppose we want to draw a square on our computer screen as shown below.
You are required to write an assembly language program to draw a square as given above using video interrupts.
a. Upper horizontal line must be Green
b. Lower horizontal line must be blue
c. Left vertical line must be PINK
d. Right vertical line must be Gray.