summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/trivials.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/intel64/trivials.h')
-rw-r--r--asm/intel64/trivials.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/intel64/trivials.h b/asm/intel64/trivials.h
index 898001e..2ec1b53 100644
--- a/asm/intel64/trivials.h
+++ b/asm/intel64/trivials.h
@@ -4,6 +4,9 @@
#include <asm/chunk.h>
+// Copy Flags to AH
+class Op_lahf: public OpSimple { public: Op_lahf(); };
+
// No Operation
class Op_nop: public OpSimple { public: Op_nop(); };
@@ -13,3 +16,5 @@ class Op_ret: public OpSimple { public: Op_ret(); };
// Syscall
class Op_syscall: public OpSimple { public: Op_syscall(); };
+// Undefined Instruction, variant 2: with no operands
+class Op_ud2: public OpSimple { public: Op_ud2(); };