title: what is the use of ori in this part of MIPS code?
body: <p>Can someone explain the use of "ori" here? I know it's bitwise OR, but I don't know how it works or why it's needed here.</p>
  
  <pre><code> #objective of the program is to add 5 and 7
  .data #variable declaration follow this line
  .text #instructions follow this line
  main:
  ori $s0, $zero, 0x5
  ori $s1, $zero, 0x7
  add $t0, $s0, $s1
  li $v0,10 # required for only QtSPIM
  syscall # required for only QtSPIM
  #end of program
  </code></pre>