title: Converting while loop from C to MIPS
body: <p>I just started to learn the basics of MIPS. While reading a book about MIPS I thought about the next question: </p>
  
  <p>I have the following code:</p>
  
  <pre><code>while (x) {...}
  </code></pre>
  
  <p>What's between brackets isn't important (just put dots on the right place on the code). It is know that x contains a Boolean statement. Let reg $t0 contain x. I am trying to convert this C while loop into a MIPS code. How to do so?</p>