title: How do I convert stored hexa number array to decimal with MIPS?
body: <p>I need a string array stored as an Hexa number and i need to convert it to a base 10 number (decimal).</p>
  
  <pre><code>.data
      inputNumberArray:   .space  32
  </code></pre>
  
  <p>This array was read using</p>
  
  <pre><code>la   $a0, inputNumberArray  # load inputBase address to a0
  li  $v0, 8          # read_string syscall code = 8
  li  $a1, 32         # space allocated for inputBase
  syscall
  </code></pre>
  
  <p>So I have an array like</p>
  
  <p><code>inputNumberArray = 3E8</code></p>
  
  <p>And I need the output to be</p>
  
  <p><code>outputArray = 1000</code></p>
  
  <p>Thanks :D</p>