In this tutorial we'll look at the left and right shifts in the MMX instruction set. It's all pretty straight forward. There's a whole bunch of instructions so I've made a table similar to the one from the addition and subtraction tutorial.
Careful when using an MMX register or 64 bit memory as the source (2nd) operand because it does not treat this operand as SIMD data. It's just one big 64 bit value.