Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AM-pa1 #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

AM-pa1 #7

wants to merge 3 commits into from

Conversation

airymarsh
Copy link

No description provided.

@@ -64,7 +84,7 @@ head: .asciiz "The Fibonacci numbers are:\n" # Print a little helpful intro
###########################################################

.text

print: add $t0, $zero, $a0 # starting address of array of data to be printed
add $t1, $zero, $a1 # initialize loop counter to array size
la $a0, head # load address of the print heading string
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, program works well under all test cases.

@JShrein
Copy link

JShrein commented Feb 19, 2015

SCORE: 78

PART 1:
Total: -0

Good job, program works well under all test cases.

PART 2:
Total: -16

Please read instructions thoroughly

-4 Instructions require a printed introduction including name, title, and purpose of program

-8 Instructions require that your calculations be stored in memory and retrieved from memory for printing.

-4 Instructions require a printed concluding message.

PART 3:
Total: -6

-6 Instructions require that you store partial sum in memory and retrieve it each time you add a number to it.

Otherwise program is very good....simple and efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants