i have a problem that i cant figure out how to solve it taht involves mips assembly. I need to ask the user for how many string they want to sort and then loop that many times and store all those strings in an array. I know how to ask for howmany strings they want to enter. I do not know how to store the data into the array and i do not know how to to print the data inside the array. Can anyone help me with this one?

happygeek commented: and you posted this in Contribute Hot News Tips for why? +0

To store data into array use

SW $reg, arrayname(address)

and to load value from array use

SW $reg, arrayname(address)

learn mips tutorial here!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.