ARRAY_LEN = 5 .text main: # Locals # p $t0 #fgets(array,ARRAY_LEN,stdin); #char *p = array; while_print_string: #TODO # while (*p != '\0') { li $v0, 11 #printf("%c", *p); #TODO syscall #TODO #p++ b while_print_string while_print_string_end: li $v0, 11 # putchar('\n'); li $a0, '\n' syscall li $v0, 0 jr $ra .data array: #TODO #char array[ARRAY_LEN];