title: MIPS if greater or equals to
body: <pre><code>if ($t4 &gt;= $5)
      $t8 = $t8+1
  </code></pre>
  <p>Given that pseudo-code, I put this attempt together based on various sources. Seems simple but i am still learning the foundations.  Not too sure if this is correct.</p>
  <pre><code>slt $t1, $t5, $t4
  beq $t0, $zero, endLoop
  addi $8, $8, 1
  </code></pre>
  <p>Main reference: <a href="https://stackoverflow.com/questions/15183346/greater-than-less-than-equal-greater-than-equal-in-mips">Greater than, less than equal, greater than equal in MIPS</a></p>