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/ex40.s | |
parent | 9f24d0511a89379bb3326ee1b62eeaabe589571b (diff) |
Fix indexing for MemRead/MemWrite in Condense, almost all tests pass
Diffstat (limited to 'output/ex40.s')
-rw-r--r-- | output/ex40.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/ex40.s b/output/ex40.s index c8200a1..7b6b01c 100644 --- a/output/ex40.s +++ b/output/ex40.s @@ -81,9 +81,9 @@ A_add_two: move $s6 $a1 li $s7 2 move $s4 $s7 - sw $s4 0($s5) + sw $s4 4($s5) move $s4 $s6 - lw $s7 0($s5) + lw $s7 4($s5) move $a0 $s4 move $t9 $s7 add $s5 $a0 $t9 |