title: error: "store address not aligned on word boundary"
body: <p>I'm using MARS MIPS simulator and using the Digital Lab Sim.</p>
  
  <p>The purpose of my code is to show the numbers 0 to 15 in hexadecimal on the Digital Lab Sim.</p>
  
  <p>I'm getting this error</p>
  
  <pre><code>Runtime exception at 0x00400024: store address not aligned on word boundary 0xffff0011
  </code></pre>
  
  <p>This is the code I'm using:</p>
  
  <pre><code>        .data
  digitos:    .word 0x3F,0x6,0x5B,0x4F,0x66,0x6D,0x7D,0x7,0x7F,0x67,0x77,0x7F,0x39,0x3F,0x79,0x71
  contador:   .word 16
          .text
  
  main:
  
      la  $t0,0xFFFF0011  
  
      la  $a0,contador    
      lw  $t1,0($a0)
  
      li  $t9,0       
  
  
      la  $t2, digitos    
  
  
  
  loop:
      lw  $t3,0($t2)
      sw  $t3, 0($t0)         
      addi    $t9,$t9,1   
      addi    $t2,$t2,4   
  
      blt     $t9,$t1,loop
  </code></pre>
  
  <p>The instruction <code>la $t0,0xFFFF0011</code> is the one responsible by the error. 0xFFFF0011 controls the left led and 0xFFFF0010 controls the right led.</p>
  
  <p>Here is the funny part. If I use 0xFFFF0010 the code works as expected but if I use the 0xFFFF0011 it does not work.</p>
  
  <p>What am I doing wrong?</p>