Generalize rol and ror