Getting result from mult in mips
问题 I am new to assembly language, and I am really confused over multiplying. I was reading the quick tutorial here:http://logos.cs.uic.edu/366/notes/mips%20quick%20tutorial.htm It says after I use mult $t0, $t1 the results are stored in Hi and Lo, I understand these are special registers for mult and div , but how do I access them? Lets say I do mult $t0, $t1 where $t0 and $t1 are both 2. How do I get the result? (4) 回答1: You have to use MFHI and MFLO to move data from HI and LO to general