CS2610: Computer Organization and Architecture Lab Assignment #1 solution


Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment


5/5 - (1 vote)

Problem Statement: Given a sequence of integers (32-bit numbers) as input, compute
and print the total number of integers and the sum of the integers. You can assume
that the inputs given will not cause any overflow/underflow.

Sample input: 2 6 9 10
Sample output: 4 27

Submission Guidelines:

• There will be points for the readability of the code. Write the code with proper
comments wherever necessary and maintain proper indentation.

• Name the program with your roll no. Ex: If your roll no is CS20B151, your
file name should be CS20B151.asm. If there are multiple files, use
CS20B151_1.asm, CS20B151_2.asm, etc.

• Place all the required files in a folder and compress the folder using zip
compression. Name your folder in the following format: If your roll no is
CS20B151, name it as CS20B151_A$.zip, where ‘$’ denotes the assignment