MIPS Address out of range (MARS)

2 I’m trying to write a simple code which save string and integer input into an array and then prints them (i will also later add another part which sorts them,but i have to get this to work first). With MARS i get this: line 75: Runtime exception at 0x004000e4: address out of range 0x00000008. … Read more

error: “store address not aligned on word boundary”

Are you sure that the error is happening on that line? I think the error is actually happening here: The problem is that you’re trying to store a word (because you’re using sw) to an address that’s not word-aligned. 0xFFFF0011 is not word-aligned. The reason why 0xFFFF0010 works is because it is word-aligned. A word … Read more