#define SET_BIT(x,bit) (x |= (1 <<bit))
#define CLEAR_BIT(x,bit) (x &= ~(1 << bit))
#define REVERSE_BIT(x,bit) (x ^= (1 << bit))
#define GET_BIT_OF(x,bit) (((x)&(1<<bit))?1:0)
#define GET_BIT(x,bit) (x&((1<<bit)>>bit))
#define SET_BIT(x,bit) (x |= (1 <<bit))
#define CLEAR_BIT(x,bit) (x &= ~(1 << bit))
#define REVERSE_BIT(x,bit) (x ^= (1 << bit))
#define GET_BIT_OF(x,bit) (((x)&(1<<bit))?1:0)
#define GET_BIT(x,bit) (x&((1<<bit)>>bit))