title: how do i read in a character array and then output it in MIPS
body: <p>I CANNOT figure it out, the only output i am getting is a squar, im not sure which side im doing is wrong bc theres no way to check, any help would be appreciated :]</p>
  
  <pre><code>#######practice with char arrays
  
  .data
  chararray: .space 500
  msg:.asciiz "enter in 5 chars, separated by enter:\n"
  sdg:.asciiz "printing...\n"
  .text
  .globl main
  
  main:
      addi $t3, $zero, 0
      addi $t2, $zero, 0
      addi $t1, $zero, 0
      addi $t0, $zero, 0
  
  
      la $t7, chararray   #puts char array first address in t7
      lb $t1, 0($t7)  #puts first char in t1
  
      li $v0,12           #reads in char
      syscall
      move $t4, $v0       #moves char into $t4
  
      sw $t4, chararray($t0)  #moves t4 into array first location
  
  
  
      lb $t6, chararray($t0)          #puts current array location's value into t6
      li $v0,11           #prepares to print char
      syscall             #prints current array char
  
      jr $ra
  </code></pre>