Share:
Notifications
Clear all

[Solved] CS401 Assignment 3 Fall 2020


admin
(@admin)
Admin
Joined: 2 years ago
Posts: 6037
Topic starter  

CS401 Assignment 3 Fall 2020 solution idea:

 

Download attachment for CS401 assignment 3 solution file.

 

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now


Quote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 6037
Topic starter  
 

Computer Architecture and Assembly Language Programming (CS401)

Assignment No. 3

Total marks = 20

Deadline Date January 25, 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 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.

Lectures covered: 23-28

Topics covered:

·       BIOS and DOS interrupts

·       Software Interrupts

·       Ralf Brown Interrupt List

 

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 assignment in the last hour of deadline. It is recommended to upload 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 [email protected]

 

Problem Statement:

Write an assembly language program to print your student ID in vertical direction using BIOS Video Services. The background color of the entire output screen should be Cyan with different background coloring for each digit as shown in the following screenshot:

 

Hints: Consult “Ralf Brown Interrupt List” and use suitable services. You may need to use more than one service to get the desired result. “Ralf Brown Interrupt List” is given in the Downloads section on VULMS and you can also search it on the Internet.

Please note that your assignment will get Zero marks if:

  • You use any method other than the BIOS Video services (i.e. simple memory addresses).
  • Student ID printed on screen is not your own.
  • Student ID is not printed vertically.
  • Background and foreground colors of each character are not the same as shown above in the screenshot.
  • Screenshot of output is not attached with the solution.

 

“The End”

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now


ReplyQuote
axxad paraxx
(@axxad-paraxx)
Trusted Member
Joined: 2 years ago
Posts: 90
 


ReplyQuote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 6037
Topic starter  

CS401 Assignment 3 Fall 2020 solution idea:

 

[org 0x0100]

                        mov AH, 06h

                        mov AL,00h

                        mov BH,30h

                        mov CH,00h

                        mov CL,00h

                        mov DH,19h

                        mov DL,50h

                        int 10h




                        mov si, vuid

                        mov DH,00h

                        mov BL,17h

                       

npos: mov AH,02h

                        mov BH,00h

                        mov DL,01h

                        int 10h

                        add DH,01h

                       

                        mov AH,09h

                        mov AL,[si]

                        mov BH,00h

                        mov CX,01h

                        int 10h

                        add si,01h




                        cmp BL,17h

                        jne attr2

                        mov BL,47h

                        jmp comp

                       

attr2:  cmp BL,47h

                        jne attr3

                        mov BL,20h

                        jmp comp

                       

attr3:  cmp BL,20h

                        jne comp

                        mov BL,17h

                       

comp: cmp DH,[slength]

                        jne npos

                       

                        mov AX,4c00h

                        int 21h

vuid: db 'MC123456789'

slength: dw 11

 

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now


ReplyQuote
Rami Liaqat
(@ramiliaqat)
New Member
Joined: 1 month ago
Posts: 1
 

plz anyone send cs411 assignment solution 


ReplyQuote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 6037
Topic starter  

@ramiliaqat

Pls post assignment file in CS411 Assignments section for discussion/solution.

https://www.whichquery.com/vu/forum/cs411-assignments/

 

or directly share with us: https://www.whichquery.com/vu/upload/

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now


ReplyQuote
umme kalsoom
(@ummekalsoom)
New Member
Joined: 1 month ago
Posts: 1
 

@ramiliaqat plz mujy be code cheya cs 411 ka


ReplyQuote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 6037
Topic starter  

@ummekalsoom

Posted by: @admin

Pls post assignment file in CS411 Assignments section for discussion/solution.

https://www.whichquery.com/vu/forum/cs411-assignments/

 

or directly share with us: https://www.whichquery.com/vu/upload/

Pls share assignment file.

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now


ReplyQuote
Share: