summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/trivials.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-18 17:55:27 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-18 17:55:27 +0100
commit031bfef600e7021c8bd72e2e663f368e7386b131 (patch)
tree4e724c3b13278e5c6fb90a9380d19dc1d253b4b3 /asm/intel64/trivials.h
parent927eb99e75325164a541c2638e1e607294019381 (diff)
Added Asm ops
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(); };