I am new to assembly language, and I am really confused over multiplying.
I was reading the quick tutorial here (dead link, web archive here)
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)