convert m \in [0,32] to int32 X where the m MSB are set to 1