Initial work adding opcodes to output.