diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-05-07 18:37:10 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-05-07 18:37:10 -0600 |
commit | 9a025aeaeb4104d6a66baaa575c669231d5d76bc (patch) | |
tree | cbab00685ecb99dad37f89d207c38c0991523324 /output/ex44.s | |
parent | 9f24d0511a89379bb3326ee1b62eeaabe589571b (diff) |
Fix indexing for MemRead/MemWrite in Condense, almost all tests pass
Diffstat (limited to 'output/ex44.s')
-rw-r--r-- | output/ex44.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/output/ex44.s b/output/ex44.s index 7f3786b..9872b8b 100644 --- a/output/ex44.s +++ b/output/ex44.s @@ -76,15 +76,15 @@ Operator_compute: li $s5 0 li $a0 1 move $t9 $s7 -NULL $s4 $a0 $t9 + and $s4 $a0 $t9 li $a0 1 move $t9 $s5 -NULL $s7 $a0 $t9 + and $s7 $a0 $t9 move $a0 $s4 move $t9 $s7 -NULL $s5 $a0 $t9 + and $s5 $a0 $t9 move $s7 $s5 - sw $s7 0($s6) + sw $s7 4($s6) li $s7 0 move $s6 $s7 move $s7 $s6 |