0% found this document useful (0 votes)
24 views2 pages

Spring 2025 - CS401P - 1

This document outlines the instructions and rules for Assignment No. 1 in the Computer Architecture and Assembly course (CS401P), due on May 08, 2025. Students must submit their work in .doc or .docx format, and late submissions or those that are corrupt will not be accepted. The assignment requires writing an assembly language program to manipulate the numeric part of the student's VUID, including storing it in an array, finding the smallest odd number, and performing calculations based on it.

Uploaded by

rabiaaiman111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views2 pages

Spring 2025 - CS401P - 1

This document outlines the instructions and rules for Assignment No. 1 in the Computer Architecture and Assembly course (CS401P), due on May 08, 2025. Students must submit their work in .doc or .docx format, and late submissions or those that are corrupt will not be accepted. The assignment requires writing an assembly language program to manipulate the numeric part of the student's VUID, including storing it in an array, finding the smallest odd number, and performing calculations based on it.

Uploaded by

rabiaaiman111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Architecture and Assembly Total marks = 20

Language Programming (Practical) Deadline Date:


(CS401P)
May 08, 2025
Assignment No. 1

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.

Labs covered: 1- 4

Topics covered: addressing modes, branching techniques, Conditional/unconditional jumps, Bit


manipulation and multiplication algorithm

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 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:

You are required to write an assembly language program to perform the following tasks:
a) Store the numeric part of your VUID in an array of numbers in memory.
b) Find the smallest odd number of your VUID and store it in memory.
c) Add each numeric digit of your VUID to the smallest odd number (computed in part b) and store
it in a 2nd array.
Note: You must use your own VUID. For example, if your VUID is BC260412345, the numeric part will
be 260412345. Otherwise, zero marks will be awarded.

Submission details:

Following are required in a single MS-Word document.


a) Assembly language program.
b) Screenshot showing the results.
Sample screenshot:

You might also like