From 5e8df2bd51c737f610af487b8f29bc2feed577a5 Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:36:03 +0300 Subject: [PATCH] generate dump list of VEX and EVEX instructions --- .gitignore | 4 +++- genc.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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)