Using MOVSX and MOVZX where appropriate