title: BNE branch in MIPS assembly
body: <p>Right now I'm preparing for a test in computer architecture, and being stuck in a task that I don't really understand.
  * $1=4, $2=2, $3=x
  Here's the code</p>
  
  <pre><code>LOOP:
  ADDI $2,$2-1
  SLL $2,$2,2
  MULT $3,$1
  MFLO $3
  SW $3, 0($2)
  BNE $2,$1,LOOP
  </code></pre>
  
  <p>My question is, which value does $2 have after this? Is this 4 or 4x?</p>