Reading and printing an integer in mips
My program is suppose to read an integer and print it back to the user but every time it just prints 268501230 no matter what is entered. Any help would be appreciated.
My program is suppose to read an integer and print it back to the user but every time it just prints 268501230 no matter what is entered. Any help would be appreciated.
In my textbook, there are these lines of code: I understand the addu function, but when I get to the nor function and everything afterward, I don’t understand what it does. The textbook just says t3 = the 2’s complement of t1 – 1 for the 2nd line, but I don’t understand how that works … Read more
Ok. I found a program buried deep in other files from the beginning of the year that does what I want. I can’t really comment on the suggestions offered because I’m not an experienced spim or low level programmer.Here it is: