title: Byte Manipulation for MIPS instruction set
body: <p>I would like to do some byte manipulation using MIPS instruction set.</p>
  
  <ul>
  <li>I have register <code>$S0</code> which has <code>0x8C2E5F1E</code> and register <code>$S1</code> which has <code>0x10AC32BB</code>. </li>
  <li>I would like to store the second byte of <code>$S0</code>, <code>5F</code>, into the third byte of <code>$S1</code>, <code>AC</code>.</li>
  </ul>
  
  <p>My logic would be to store the byte of register <code>$S0</code> into another register, shift it to the desired byte. Then I would and register <code>$S1</code> with <code>0xFF00FFFF</code>. Finally, I would just or the two registers.
  How does that sound? Is it correct? Any better way?</p>
  
  <p>Any suggestions or solution would be appreciated.</p>