Search code examples
stringloopsassemblymipsmips32

Looping through strings 1 character at a time in MIPS


I'm having issues grasping the concept of string and characters in MIPS. If I'm trying to loop through two strings, and concatenate two characters at a time, how would I do this?

Lets say I have

String1 = "St"
String2 = "ack"

How could I loop through to get

Sa, Sc, Sk, ta, tc, tk 

Thanks in advance!


Solution

  • Wasn't able to figure it out, the MIPS environment I used had something built in apparently.