self.value = (
            ((((amount << 2) | shift_type) << 1) | shift_kind) << 4) | rm