title: MIPS variable offset
body: <p>I'm making a code that searches and finds these characters (aeiou) from another string and saves all other characters (max 3). If there aren't 3 different characters from (aeiou), it must take those one.
  For example I have this string: "rossi". I want compare every single character of this string with the other string and find those different.
  I thought like this: <br />
  <code>if "r" is different from "a" &amp;&amp; "e" &amp;&amp; "i" &amp;&amp; "o" &amp;&amp; "u" then</code> save "r" in a register and take the second character to compare.</p>
  
  <p>I wrote this but I can't exit from loop</p>
  
  <pre>       .data 0x10010000
  cognome:    .asciiz "rossi"
  voc:        .asciiz "aeiou"
  
          .text 0x400000
  main:   la $s0, cognome     
          la $s1, voc         
  
  cerca:  lbu $t0, 0($s0)             
  
  sc_voc: lbu $t1, 0($s1)             
          bne $t0, $t1, sc_voc        
          move $s3, $t2
          j cerca
  </pre>
  
  <p>I know this is wrong but I don't know how to increment the offset of lbu because this take the first one </p>
  
  <p>Can you help me?</p>