mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fixed errors (#4227)
This commit is contained in:
parent
8240a8f703
commit
fd3b5cf629
@ -293,7 +293,7 @@ gateways and routers.
|
|||||||
|
|
||||||
fact_done:
|
fact_done:
|
||||||
lw $s0, ($sp)
|
lw $s0, ($sp)
|
||||||
lw $ra, ($sp) # Restore the PC
|
lw $ra, 4($sp) # Restore the PC
|
||||||
addi $sp, $sp, 8
|
addi $sp, $sp, 8
|
||||||
|
|
||||||
jr $ra
|
jr $ra
|
||||||
@ -357,7 +357,7 @@ gateways and routers.
|
|||||||
li $t1, 5 # Length of the list
|
li $t1, 5 # Length of the list
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
bgt $t0, $t1, end_loop
|
bge $t0, $t1, end_loop
|
||||||
|
|
||||||
lw $a0, ($s0)
|
lw $a0, ($s0)
|
||||||
li $v0, 1
|
li $v0, 1
|
||||||
|
Loading…
Reference in New Issue
Block a user