程序代写代做代考 Java mips javascript 10/17/2018 CSCI2500: Computer Organization

10/17/2018 CSCI2500: Computer Organization

https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 1/5

RPI Computer Science  > Submitty > Computer Organization > Homework 3

New submission for: Homework 3 Due
The homework submission area and autograding points for Homework 3. Note that you have a maximum of 20 submissions, a�er which points wil
submit only MIPS code.

Drag your file(s) here or click to open file browser
hw3.s 5.65kb 

By clicking Submit, you are confirming that you have read, understand, and agree to follow the Academic Integrity Policy for this course.
 

Submit Clear

Select Submission Version: Do NoVersion #2   Score: 46 / 100   GRADE THIS VERSION
Note: This version of your assignment will be graded by the instructor/TAs and the score recorded in the gradebook.
Submitted Files

Results

Use Most Recent Submission

hw3.s (5.65kb) 

submission timestamp: 10/17/2018 08:13:42 AM
days late: 0 (before extensions)

grading time: 6 seconds
queue wait time: 0 seconds

46 / 100 Total

Visua

Student STDOUT.txt 
 1 SPIM Version 8.0 of January 8, 2010
 2 Copyright 1990-2010, James R. Larus.
 3 All Rights Reserved.
 4 See the file README for a full copyright notice.
 5 Loaded: /usr/lib/spim/exceptions.s
 6 Please Enter values for n, k, and m:
 7
 8 Please enter values for the first matrix (2×3):
 9
10 Please enter values for the second matrix (3×1):
11
12
13 [1 2 3 ]
14
15 [4 5 6 ]
16 multiplied by
17
18
19 [7 ]
20
21 [8 ]
22
23 [9 ]
24
25 equals
26
27
28 [50 ]
29
30 [122 ]

Expected STDOUT.txt 
 1 SPIM Version 8.0 of January 8, 2010
 2 Copyright 1990-2010, James R. Larus.
 3 All Rights Reserved.
 4 See the file README for a full copyright notice.
 5 Loaded: /usr/lib/spim/exceptions.s
 6 Please enter values for n, k, and m:
 
 7 Please enter values for the first matrix (2×3):
 
 8 Please enter values for the second matrix (3×1):
 9
 
10 [1 2 3 ]
 
11 [4 5 6 ]
12 multiplied by
 
 
13 [7 ]
 
14 [8 ]
 
15 [9 ]
 
16 equals
 
 
17 [50 ]
 
18 [122 ]
19

9 / 16 Test 1 — Multiply 2×3 by 3×1     spim -file hw3.s < hw3-test01-stdin.txt       https://science.rpi.edu/computer-science https://submitty.cs.rpi.edu/index.php? https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500 https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=navigation https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=navigation&page=notifications https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=grading&page=course_materials&action=view_course_materials_page https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=forum&page=view_thread https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&page=rainbow https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&page=view_late_table javascript: toggleSidebar(); https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=authentication&page=logout 10/17/2018 CSCI2500: Computer Organization https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 2/5 Visua Student STDERR.txt 1 Visua Student STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please Enter values for n, k, and m:  7  8 Please enter values for the first matrix (2x2):  9 10 Please enter values for the second matrix (2x2): 11 12 13 [1 2 ] 14 15 [3 4 ] 16 multiplied by 17 18 19 [5 6 ] 20 21 [7 8 ] 22 23 equals 24 25 26 [19 22 ] 27 28 [43 50 ] Expected STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please enter values for n, k, and m:    7 Please enter values for the first matrix (2x2):    8 Please enter values for the second matrix (2x2):  9   10 [1 2 ]   11 [3 4 ] 12 multiplied by     13 [5 6 ]   14 [7 8 ]   15 equals     16 [19 22 ]   17 [43 50 ] 18 Visua 9 / 16 Student STDERR.txt 1 Test 2 -- Multiply 2x2 by 2x2     spim -file hw3.s < hw3-test02-stdin.txt       Visua Student STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please Enter values for n, k, and m:  7  8 Please enter values for the first matrix (2x3):  9 10 Please enter values for the second matrix (3x1): 11 12 13 [1 2 3 ] 14 15 [4 5 6 ] 16 multiplied by 17 18 19 [700 ] 20 21 [800 ] 22 23 [900 ] 24 25 equals 26 27 28 [5000 ] 29 Expected STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please enter values for n, k, and m:    7 Please enter values for the first matrix (2x3):    8 Please enter values for the second matrix (3x1):  9   10 [1 2 3 ]   11 [4 5 6 ] 12 multiplied by     13 [700 ]   14 [800 ]   15 [900 ]   16 equals     17 [5000 ]   18 [12200 ] 19 9 / 16 Test 3 -- Multiply 2x3 by 3x1     spim -file hw3.s < hw3-test03-stdin.txt       10/17/2018 CSCI2500: Computer Organization https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 3/5 30 [12200 ] Visua Student STDERR.txt 1 Visua Student STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please Enter values for n, k, and m:  7  8 Please enter values for the first matrix (8x8):  9 10 Please enter values for the second matrix (8x8): 11 12 13 [1 2 3 4 5 6 7 8 ] 14 15 [9 10 11 12 13 14 15 16 ] 16 17 [17 18 19 20 21 22 1 2 ] 18 19 [3 4 5 6 7 8 9 10 ] 20 21 [11 12 13 14 15 16 17 18 ] 22 23 [19 20 21 22 0 0 0 0 ] 24 25 [0 0 0 0 0 0 0 0 ] 26 27 [0 0 0 0 0 0 0 0 ] 28 multiplied by 29 30 31 [1 2 3 4 5 6 7 8 ] 32 33 [9 10 11 12 13 14 15 16 ] 34 35 [17 18 19 20 21 22 0 0 ] 36 37 [0 0 0 0 0 0 0 0 ] 38 39 [0 0 0 0 0 0 0 0 ] 40 41 [0 0 0 0 0 0 0 0 ] 42 43 [0 0 0 0 0 0 0 0 ] 44 45 [0 0 0 0 0 0 0 0 ] 46 47 equals 48 Exception 12 [Arithmetic overflow] occurred and ignored 49 Exception 12 [Arithmetic overflow] occurred and ignored 50 Exception 12 [Arithmetic overflow] occurred and ignored 51 Exception 12 [Arithmetic overflow] occurred and ignored 52 Exception 12 [Arithmetic overflow] occurred and ignored 53 Exception 12 [Arithmetic overflow] occurred and ignored 54 Exception 12 [Arithmetic overflow] occurred and ignored 55 Exception 12 [Arithmetic overflow] occurred and ignored 56 Exception 12 [Arithmetic overflow] occurred and ignored 57 58 59 [70 76 82 88 94 100 247 268 ] 60 61 [1270 1372 1474 1576 3370 3652 16223 17532 ] 62 63 [33096 35412 73260 79356 346341 374304 722135 772960 ] 64 65 [597014 646544 2795030 3020756 5892295 6308196 5015835 5428936 ] 66 0 / 16 Test 4 -- Multiply 8x8 by 8x8     spim -file hw3.s < hw3-test04-stdin.txt       10/17/2018 CSCI2500: Computer Organization https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 4/5 67 [48711268 52647796 105762749 113284824 97070642 104926524 838159167 905908892 68 69 [952053080 1632975840 462010654 1189577272 1210885234 -1379244424 -252923693 204175356 70 71 [-894313327 -1583209590 -1060691607 -912959964 -2096228195 495163054 1139527712 2 72 73 [-1107537759 -966832422 -506734349 -1225076092 -467712095 -979308162 -1390368628 - Expected STDOUT.txt   1 SPIM Version 8.0 of January 8, 2010  2 Copyright 1990-2010, James R. Larus.  3 All Rights Reserved.  4 See the file README for a full copyright notice.  5 Loaded: /usr/lib/spim/exceptions.s  6 Please enter values for n, k, and m:    7 Please enter values for the first matrix (8x8):    8 Please enter values for the second matrix (8x8):  9   10 [1 2 3 4 5 6 7 8 ]   11 [9 10 11 12 13 14 15 16 ] 12 [17 18 19 20 21 22 23 24 ] 13 [25 26 27 28 29 30 31 32 ] 14 [33 34 35 36 37 38 39 40 ] 15 [41 42 43 44 45 46 47 48 ] 16 [49 50 51 52 53 54 55 56 ] 17 [57 58 59 60 61 62 63 64 ]             18 multiplied by     19 [1 2 3 4 5 6 7 8 ]   20 [9 10 11 12 13 14 15 16 ] 21 [17 18 19 20 21 22 23 24 ] 22 [25 26 27 28 29 30 31 32 ] 23 [33 34 35 36 37 38 39 40 ] 24 [41 42 43 44 45 46 47 48 ] 25 [49 50 51 52 53 54 55 56 ] 26 [57 58 59 60 61 62 63 64 ]               27 equals 28 [1380 1416 1452 1488 1524 1560 1596 1632 ] 29 [3236 3336 3436 3536 3636 3736 3836 3936 ] 30 [5092 5256 5420 5584 5748 5912 6076 6240 ] 31 [6948 7176 7404 7632 7860 8088 8316 8544 ] 32 [8804 9096 9388 9680 9972 10264 10556 10848 ] 33 [10660 11016 11372 11728 12084 12440 12796 13152 ] 34 [12516 12936 13356 13776 14196 14616 15036 15456 ] 35 [14372 14856 15340 15824 16308 16792 17276 17760 ]                                     36 Visua Student STDERR.txt  ERROR: This file should be empty! 10/17/2018 CSCI2500: Computer Organization https://submitty.cs.rpi.edu/index.php?semester=f18&course=csci2500&component=student&gradeable_id=hw3 5/5  1 Exception occurred at PC=0x0040029c  2 Arithmetic overflow  3 Exception occurred at PC=0x0040029c  4 Arithmetic overflow  5 Exception occurred at PC=0x0040029c  6 Arithmetic overflow  7 Exception occurred at PC=0x0040029c  8 Arithmetic overflow  9 Exception occurred at PC=0x0040029c 10 Arithmetic overflow 11 Exception occurred at PC=0x0040029c 12 Arithmetic overflow 13 Exception occurred at PC=0x0040029c 14 Arithmetic overflow 15 Exception occurred at PC=0x0040029c 16 Arithmetic overflow 17 Exception occurred at PC=0x0040029c 18 Arithmetic overflow 19 10 / 18 Test 5 -- Hidden Test Case 1     spim -file hw3.s < hw3-test05-stdin.txt       9 / 18 Test 6 -- Hidden Test Case 2     spim -file hw3.s < hw3-test06-stdin.txt       © 2018 RPI | An RCOS project |  https://rcos.io/ https://github.com/Submitty/Submitty