.data
str10: .asciiz "Give me a string:\n "
.align 2
B: .Space 100
.align 2
C: .Space 100
.text
main:
add $10,$0,$0
StringChanger:
addi $12,$0,100
addi $11,$0,0 #j
addi $13,$0,0 #i
la $a0,str10
li $v0,4
syscall
li $v0,8
la $a0,C
li $a1,100 #arrays length
syscall
la $t0,1($a0)
lb $t1,($t0)
move $v0,$t1
li $v0,4
syscall