implement bit-shifting RMW instructions