diff --git a/.gitignore b/.gitignore index 2bee250..76a3cf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ test/ -genc.txt \ No newline at end of file +genc.txt +vex.txt +evex.txt \ No newline at end of file diff --git a/genc.py b/genc.py index 21ca7f9..37af07e 100644 --- a/genc.py +++ b/genc.py @@ -55,12 +55,14 @@ class Instruction: opc = ins.find("opc").text if "EVEX" in opc: + return self.type = InstructionType.EVEX self.parse_evex(opc) elif "VEX" in opc: self.type = InstructionType.VEX self.parse_vex(opc) else: + return self.type = InstructionType.STANDARD self.parse_standard(opc)