COMBINE
#define COMBINE(old, new, mask) (((old) & ~(mask)) | ((new) & (mask)))
#define COMBINE(X, Y) COMBINE1(X, Y)