title: Can anyone help explain me the answers to this mips question?
body: <blockquote>
  <ol start="3">
  <li>Given the following MIPS assembly program:</li>
  </ol>
  <pre><code>data
  
  byte 2
  
  word 9 10 17 18 20 22
  
  word 4 8
  
  -text
  
  global
  
  start
  
  la Ss0, h
  
  la Ssl, 6 (Ss0)
  
  la $s2, s 1w $s3, -20 (Ss2)
  
  sub $s4, $s2, $s3
  
  li Svo, 10
  
  syscall
  </code></pre>
  <p>(editor's note: this is <em>not</em> an accurate transcription of the image)</p>
  <p>The starting address s is Ox1006000, what will be the
  of $s0, $s1, $s2, $s3 and $s4 after the
  execution?</p>
  </blockquote>
  <p>Answer:</p>
  <blockquote>
  <pre><code>Ss0 = -30
  
  $si = = 0x00000050
  
  $s2 = 0x100600
  
  Ss3 = 16 = 0x00000040
  
  Ss4 = $s2 - S3 = Ox00004010
  </code></pre>
  </blockquote>