Abstract


Examples


srl

  • Shift Right Logical
  • Source Register is 0
  • Shifts the value right by n bits, discarding the lower n bits
  • Dividing the value in register $s0 by 16 (2^4) - srl $s0, $s0, 4

Terminologies


Destination Register

Function Code

Shift Amount

  • 5bits
  • Labeled as shamt