From 031bfef600e7021c8bd72e2e663f368e7386b131 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Wed, 18 Nov 2020 17:55:27 +0100 Subject: Added Asm ops --- asm/intel64/trivials.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'asm/intel64/trivials.h') 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 +// 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(); }; -- cgit v1.2.3