Fixed bug, shifting before cast in instruction fetch