compiling instructions and tag