diff options
author | NightMachinary <36224762+NightMachinary@users.noreply.github.com> | 2021-12-22 23:10:43 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-22 20:40:43 +0100 |
commit | fd3b5cf62961c15f59acb63dad86865fc01ecb78 (patch) | |
tree | e3bfa906a4123972439a2b3fc6bd4d00aa17a10c | |
parent | 8240a8f7039ee97df256a806ef825af68f7b2567 (diff) |
Fixed errors (#4227)
-rw-r--r-- | mips.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mips.html.markdown b/mips.html.markdown index 4977cc65..7f679082 100644 --- a/mips.html.markdown +++ b/mips.html.markdown @@ -293,7 +293,7 @@ gateways and routers. fact_done: lw $s0, ($sp) - lw $ra, ($sp) # Restore the PC + lw $ra, 4($sp) # Restore the PC addi $sp, $sp, 8 jr $ra @@ -357,7 +357,7 @@ gateways and routers. li $t1, 5 # Length of the list loop: - bgt $t0, $t1, end_loop + bge $t0, $t1, end_loop lw $a0, ($s0) li $v0, 1 |