fixed bit shift direction for caen