title: Double condition in a for loop in MIPS assembly
body: <p>I'd like to implement these loops in MIPS assembly but can't work out how to check for double conditions:</p>
  
  <pre><code>for(i=0;i&lt;dim&amp;&amp;dim&gt;1;++i)
  
  
  for(k=1;k&lt;dim&amp;&amp;j!=i;++k)
  
  i=$t0
  dim=$a0
  k=$t1
  </code></pre>