RANGE
#define RANGE(reg, a) ((reg)[(a) + 1] - (reg)[(a)] + 1)
#define RANGE(x) ((x) & 0x3)
#define RANGE(a, b) {(a) * 1e6, (b) * 1e6, 0}