what is the use of ori in this part of MIPS code?
The two instructions load a constant of 0x05 into register $s0 and 0x07 into register $s1. MIPS doesn’t has an instruction that directly loads a constant into a register. Therefore logical OR with a operand of zero and the immediate value is is used as a replacement. It has the same effect as move. Translated … Read more