Compile to hex