prepare to generate opcodes header