THUMB2: modified implementation of function "thumb2_data_shifted_reg"