How would I add on a letter into a string. For instance, I have:
str: .asciiz "abcdefghijklmnopqrstuvwxyz"
I want to add the letter a to the end of the string to make it display "abcdefghijklmnopqrstuvwxyza" when I print out the string.
I've tried
la $t0, str
lb $t1, 0($t0)
add $t0, $t0, 25
sb $t2, 1($t0) # assume that $t2 contains the character a
Any help is greatly appreciated!