|
You shift in a loop until you have shifted as many times as there are bits in the register or registers in question. Again, I can't give you specifics, such as how to output a value; I don't know the MIPS. Still, these operations should be a part of your documentation. Almost bound to be a syscall for it. At least, you have those. When you start with a raw micro and no library stuff, you have to write it all.
|