Changed opcode generation code.