From c3401cd5d0f3fc04b39ecc59ec1d72701e94f1cf Mon Sep 17 00:00:00 2001 From: Snorre Selmer Date: Fri, 3 Mar 2023 09:10:06 +0100 Subject: [PATCH] Fixed some spelling-stuff --- mips-programming-101.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mips-programming-101.md b/mips-programming-101.md index f924c91..eb7abdd 100644 --- a/mips-programming-101.md +++ b/mips-programming-101.md @@ -16,7 +16,7 @@ The address register (ra) is not meant to be written to by the user, it's only u ## Registers? What are they and how do I use them? -Registers are what most programming languages call variables. But where most programming languages let you create as many variables as you want, MIPS has 18 registers, but only 16 of them are intended for regular use. +Registers are what most programming languages call variables. But where most programming languages let you create as many variables as you want, MIPS has only 18 registers, and only 16 of them are intended for regular use. | **Register(s)** | **Alias** | **Purpose** | |-----------------|-----------|----------------| @@ -65,9 +65,9 @@ This ***s***ets ***CeilingLight***'s ***On*** end-point to the value stored in * This may sound a bit cryptic, but bear with me, I'll explain it all a bit further down. #### Setting with boolean comparisons -Boolean comparisons are comparisons made to be either true (1) or false (0). These are great at controlling the on/off state of devices like pumps and lights etc. +Boolean comparisons are comparisons made to be either true (1) or false (0). These are great for controlling the on/off state of devices like pumps and lights etc. -Boolean comparisons are of the type "equal", "equal to zero", "less/great than", "less/greater than zero" and so on. +Boolean comparisons are of the type "equal", "equal to zero", "less/greater than", "less/greater than zero" and so on. If you use one of the operators that compare to zero, you do not need to supply two values for comparison, since the instruction already says one of the values will be zero.