Do a strlwr in mips

0

I need to pass a string that is uppercase to lowercase but I do not know what I can spend on mips, I know that the strlwr is spent in C but I do not know the assembler code, someone can help me, I have searched for information but it does not appear nothing, do I have to use the ascii code?

    
asked by El Barto 29.04.2018 в 23:21
source

1 answer

0

You have to read each character and compare it if it is greater than 96, if so, you directly subtract the character 32, since MIPS handles letters as bytes and it is possible to do the above, you must store or in your defect printing it

    
answered by 26.05.2018 в 00:06