title: Array integer entered by user mips
body: <pre><code>    loop:
  
  
  
  la $a0, msg1 #output message
  li $v0, 4
  syscall
  li $v0, 5 #read in user input
  syscall
  move $t0, $v0 
  beq  $t0, -99, endloop
  beq  $t1,20,endloop #get user input up to 20 times 
  
  addi $t1, $t1, 1
  sw $t0,($t3)
  addi $t3,$t3,4
  
  b loop #loop until it reaches 20 
  
  endloop:
  </code></pre>
  
  <p>I cant figure out how to save data entered by user into array.array size be 20 integer and -99 to stop. not including -99 on array.</p>