// Trivial Operations, without arguments #pragma once #include // No Operation class Op_nop: public OpSimple { public: Op_nop() : OpSimple({ 0x90 }) {} }; // Return from procedure class Op_ret: public OpSimple { public: Op_ret() : OpSimple({ 0xC3 }) {} // near return; TODO: far return is 0xCB }; // Syscall class Op_syscall: public OpSimple { public: Op_syscall() : OpSimple({ 0x0F, 0x05 }) {} };