# high-level call: char *toUpper (char s[])
# Function: convert to upper case, return s[]
# Compiler assignment: $a0 <- s


.text

#------------------------------------------------
main:       la       $a0,Str           # load base address of s[]
            jal      toUpper

#------------------------------------------------
            ori      $2,$0,10          # system call: exit program
            syscall

#----- start your code here



#----- end your code here

# The assembler inserts the data for you intsead of doing it by hand
# one word at a time using the Setting -> Set Value... menu

.data

#------------------------------------------------
Str:      .asciiz "lower"      # null-terminated ASCII string
