Wrote a function to parse basic opcodes and removed the descriminated union Opcodes