title: MIPS instruction modulo
body: <pre><code>b = a % 16
  
  a --&gt; $s0
  b --&gt; $s1
  </code></pre>
  
  <p><strong>Answer: <code>$s1, $s0, 0xF</code></strong></p>
  
  <pre><code>#0xF= 0000 0000 0000 0000 0000 0000 0000 1111
  </code></pre>
  
  <p>When I convert it to decimal, it is 15. </p>
  
  <p>I am not too sure why it is 15?</p>