apply bitmsk8 macro to thumb.c