Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is a sample of the input and output: Input: 3 2 1 8 1 0 0 Output: 6 7 6 A sample program to

Here is a sample of the input and output:
Input: 3218100
Output: 676
A sample program to show how to manage input and output is as follows. Type a single digit integer number in the Input box and run the program.
addi $t0, $zero, 8200 # Output loc
BegLoop:
addi $t6, $zero, 8192 # Input ready?
lw $t5,0($t6)
beq $t5, $zero, NoInput
addi $t6, $zero, 8196 # Input loc
lw $t1,0($t6)
addi $t2, $zero, 1
sw $t2,0($t0) # Output to screen
mul $t2, $t2, $t1 # Times Input
sw $t2,0($t0) # Output to screen
mul $t2, $t2, $t1 # Times Input
sw $t2,0($t0) # Output to screen
mul $t2, $t2, $t1 # Times Input
sw $t2,0($t0) # Output to screen
j BegLoop
NoInput:
Rubric
Assignment 3 Rubric
Assignment 3 Rubric
Criteria Ratings Pts
This criterion is linked to a Learning OutcomeSubmission as expected.
A txt file was submitted FirstnameLastnameA3.txt
0.5 pts
Excellent
Submission met all requirements.
0.4 pts
Good
Submission had a minor error like the filename was not as requested.
0.3 pts
Needs Work
Submission had major errors
0 pts
Not submitted
Not submitted or totally wrong submission.
0.5 pts
This criterion is linked to a Learning OutcomeHigh level language algorithm included in comments
0.5 pts
Excellent
Submission met all requirements.
0.4 pts
Good
Submission included with minor errors.
0.3 pts
Needs work
Submission included with major errors.
0 pts
Not submitted
Not submitted or not included.
0.5 pts
This criterion is linked to a Learning OutcomeMIPSzy program submitted as requested The code submitted for the MIPSzy language is submitted as an export as specified.
1 pts
Excellent
Submission met all requirements and was submitted as an export pasted into a text document without modifications.
0.6 pts
Good
Submission had a minor error. like it was submitted as a text document rather than an export from the ZYBook..
0.3 pts
Needs work
Submission included with major errors.
0 pts
No Marks
Not submitted or not included.
1 pts
This criterion is linked to a Learning OutcomeMIPSzy program submitted as requested.
The code submitted for the MIPSzy language works properly with the expected output.
3 pts
Excellent
Submission met all requirements and output was correct.
2.4 pts
Good
Submission had a minor error something like putting the result in the wrong memory location.
1.8 pts
Needs work
Submission included with major errors like the wrong results.
0 pts
No Marks
Not submitted or not included.
3 pts
Total Points: 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

Do you favor a civil service system? Why or why not?

Answered: 1 week ago