0% found this document useful (0 votes)
31 views

Spring 2023 - CS401P - 1

This document provides instructions for Assignment 1 of the Computer Architecture and Assembly Language Programming course. It states that the assignment must be submitted by May 23rd in .doc or .docx format. It should calculate the sum of even numbers from 1 to N, where N is the largest digit of the student's VUID. Loops and conditionals must use jumps and labels, and the final sum should be stored in a variable called "sum". The file should be saved with the student's last 4 VUID digits and include the code and an execution screenshot. Late or incorrectly formatted submissions will not receive credit.

Uploaded by

nijaz8435
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Spring 2023 - CS401P - 1

This document provides instructions for Assignment 1 of the Computer Architecture and Assembly Language Programming course. It states that the assignment must be submitted by May 23rd in .doc or .docx format. It should calculate the sum of even numbers from 1 to N, where N is the largest digit of the student's VUID. Loops and conditionals must use jumps and labels, and the final sum should be stored in a variable called "sum". The file should be saved with the student's last 4 VUID digits and include the code and an execution screenshot. Late or incorrectly formatted submissions will not receive credit.

Uploaded by

nijaz8435
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Architecture and Total marks = 20

Assembly Language Programming


Practical (CS401p) Deadline Date:

Assignment No. 1 May 23, 2023

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, asm,txt,PDF, ppt and bmp etc. will not be accepted.

Lectures covered: 1-5

Topics covered: Shifting and rotations

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 the
deadline. It is recommended to upload your solution file at least two days before its closing date.

If you find any 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 that calculates the sum of all even numbers from 1 to N,
where N is the largest digit of your VUID. Use jumps and labels to implement the necessary
loops and conditionals. Store the final sum in a variable named sum.

Requirements:

 Calculate the sum of all even numbers from 1 to N, where N is the largest digit of your
VUID.
 Use jumps and labels to implement loops and conditionals.
 Store the final sum in a variable named sum.

Note: Save the code file with your last four digits of VUID.

Submission details:

Submit one document file, Copy the code and paste screenshot of program execution.

“Best of luck”

You might also like