Está en la página 1de 2

Computer

Organization and Design


2011-2012

Faculty of Information Technology Department of Computer Information Systems

Unit Code: 64ET1801 Courses: BSc CIS Assignment Number: 1 % Contribution to Unit: 10% Submission Date: OCC

Unit Title: Computer Organization and Design Originator: Abdel-Razzak Natsheh Programming with Assembly language Duration: 1 Week 17:00 11/3/12

Submission must be made via the procedures specified Late submissions will incur a penalty according to University regulations

Scope/Learning Outcomes
The student is expected to work individually to:
Design and develop a requirements document into algorithms, data elements and programming constructs Implement a solution in a given problem using assembly programming language Use problem modelling and solving skills

Weighting for each assessment element (the same for the two programs)
Element Flow Chart Test Data document Code Layout and Comments User Interface Program construction Testing

Deliverables
See attached documentation.

Weighting (%) 10 10 10 5 50 15



1 BSc in Computer Information Systems

Programming with assembly language: assignment 1.


The assignment weight is Worth 10% of final mark.

Design and develop a program to calculate the sum of an integer number using MIPS assembly language.

The program should do the following tasks: 1. Ask the user to input an integer number; 2. Calculate the sum of the inserted number (hint N=10, sum=1+2+.+10); 3. Display the calculated output; 4. Ask the user to input another number, and 5. Keep doing the mentioned above tasks until the user input exit. The program should be written in assembly language and will be compiled using the Qtspim MIPS simulator. Submitting your work You must submit your work on OCC. You should upload one zipped file for the assignment, which should include the following files: Your source code only. A Word document containing the explanation of your code and results A flow chart describing your program.

Assembly Programming 2 2

También podría gustarte