title: Convert C program into assembly code
body: <p>How exactly do I convert this C program into assembly code?  I am having a hard time understanding this process or how to even start it.  I am new to this. Any help would be appreciated!</p>
  
  <pre><code>while(a!=b){
       if(a &gt; b){
          a = a - b;
         }
          else{
            b = b - a;
      }
    }
     return a;
     }
  </code></pre>
  
  <p>Side Note: Assume two positive integers a and b are already given in register R0 and R1.<br>
  Can you leave comments explaining how you did it?</p>