From e4f89099939c9f61818ecff2d3ca48580f461e61 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Tue, 7 May 2024 19:16:48 -0600 Subject: Condense all tests passed --- output/ex37.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'output/ex37.s') diff --git a/output/ex37.s b/output/ex37.s index 91bc963..d905a1c 100644 --- a/output/ex37.s +++ b/output/ex37.s @@ -86,13 +86,13 @@ while11_test: slt $s3 $a0 $t9 move $s0 $s3 move $s1 $s0 - beqz $s1 while11_end + blez $s1 while11_end while11_body: move $t7 $s7 li $s5 1 move $a0 $t7 move $t9 $s5 - add $t6 $a0 $t9 + addu $t6 $a0 $t9 move $s4 $t6 move $s7 $s4 j while11_test @@ -132,7 +132,7 @@ AllocArray: mul $s6 $a0 $t9 move $a0 $s6 li $t9 4 - add $s6 $a0 $t9 + addu $s6 $a0 $t9 move $a0 $s6 jal _heapAlloc move $s5 $v0 -- cgit v1.2.3