macros: hex, math, bitwise ops