diff options
Diffstat (limited to 'mips.html.markdown')
-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 7f759bec..4977cc65 100644 --- a/mips.html.markdown +++ b/mips.html.markdown @@ -209,7 +209,7 @@ gateways and routers. ## LOOPS ## _loops: # The basic structure of loops is having an exit condition and a jump - instruction to continue its execution + # instruction to continue its execution li $t0, 0 while: bgt $t0, 10, end_while # While $t0 is less than 10, @@ -242,7 +242,7 @@ gateways and routers. ## FUNCTIONS ## _functions: # Functions are callable procedures that can accept arguments and return - values all denoted with labels, like above + # values all denoted with labels, like above main: # Programs begin with main func jal return_1 # jal will store the current PC in $ra |