Basically i have values stored into an array and I need to print out thoes values from the array into rows of 6. So after the 6th number in the array, a new line must be created. Can someone help me?? My code I gave below just prints out all the values but doesn't do it in rows of 6.
la $t0,volumes
li $t7,0
lw $t9,length
la $a0, newLn
li $v0, 4
syscall
outVolumes:
lw $a0, ($t0)
li $v0, 1
syscall
la $a0, blnks
li $v0, 4
syscall
add $t0,$t0,4
add $t7,$t7,1
blt $t7,$t9,outVolumes