CS401 Assignment No 2 Fall 2019
Dear Students, Here you can read or download Computer Architecture and Assembly Language Programming - CS401 Assignment No 2 Solution of Semester Fall 2019. CS401 Assignment Due Date is 26 November 2019. Total Marks are 20. Assignment Solution Sample Preview and Video Explanation will also be added Soon.CS401 Assignment No 2 Solution Fall 2019 |
CS401 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.
Topics Covered in CS401 Assignment:
- Addressing Modes
- Branching
- Subroutines
CS401 Assignment Question No 1
Write a subroutine that will find the first even number from an array of your VU ID and calculate its factorial. (10 Marks)Note: Skip 0’s in your VU ID as shown below,
VU ID: BC190206435
After skipping 0’s, array would be:
Array: 1, 9, 2, 6, 4, 3, 5
The first even number is 2 in the array so its factorial will be calculated and saved in AX register.
CS401 Assignment Question No 2
Write a code in assembly language (using appropriate jumps) equivalent to this given code in C. (10 Marks)#include <stdio.h>
int main()
{
int n1=1, n2=2;
int largest;
if( n1>n2)
largest=n1;
else
largest = n2;
return 0;
}
CS401 Assignment No 2 Solution Fall 2019
You can see the Sample Preview of CS401 Assignment No 2 Solution provided by (Virtual Study Solutions) below. Click on Download Button to Download Solution File in Your PC.CS401 Assignment No 2 Solution Explanation:
In the video explanation of CS401 Assignment you will learn about:- Sub Routines
- How to write sub routines
- Assembly language
- How to write assembly language code
- Jumps statements in assembly language
- I will explain subroutine that will find the first even number from an array of your VU ID and calculate its factorial.
- I will explain code in assembly language (using appropriate jumps) equivalent to this given code in C.
Download CS401 Assignment No 2 Solution Fall 2019
File Name | Download Link |
---|---|
CS401 Assignment No 2 Solution Fall 2019.docx | Download |
Please Note: Solution has been updated Now.
we recommend you to read:
we recommend you to read:
CS401 Mid Term Past Papers Collection
Download [ CS401 Mid Term Papers Solved by Moaaz ]
Download [ CS401 Past Mid Term Papers Spring 2019 ]
Download [ CS401 Past Mid Term Papers Spring 2018 ]
Download [ CS401 Past Mid Term Papers Spring 2018 ]
If CS401 Assignment 2 Solution of Fall 2019 was helpful. Please Share it with your friends. You can also like our Facebook Page or Subscribe Us on YouTube for Latest Updates about Assignments and Past Papers.
download nhi ho rhi file
ReplyDeleteDownload link is fine. file is in .rar format means zipped. use winrar to unzip the solution files
ReplyDeletezip file open nai ho rahi error dy raha h
ReplyDeletecs401 due date 26-11-2019 is fake, either containing errors or corrupt, hence not opening in any way. Pl upload working WINRAR file/archive.
ReplyDeleteUpdate: check the solution file now
Deletebhai cs401 ki assignment bnani kis me h mja bilkul b ni pta plz help me soon aj last h
Deletecan i submitted it same just apni id lga kay ?
ReplyDeleteNo - That is highly Not Recommended.
Deleterun nhin ho rhii
ReplyDelete