diff options
Diffstat (limited to 'asm/intel64/trivials.h')
-rw-r--r-- | asm/intel64/trivials.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/asm/intel64/trivials.h b/asm/intel64/trivials.h index 72ea3f8..898001e 100644 --- a/asm/intel64/trivials.h +++ b/asm/intel64/trivials.h @@ -5,20 +5,11 @@ #include <asm/chunk.h> // No Operation -class Op_nop: public OpSimple -{ -public: Op_nop() : OpSimple({ 0x90 }) {} -}; +class Op_nop: public OpSimple { public: Op_nop(); }; // Return from procedure -class Op_ret: public OpSimple -{ -public: Op_ret() : OpSimple({ 0xC3 }) {} // near return; TODO: far return is 0xCB -}; +class Op_ret: public OpSimple { public: Op_ret(); }; // Syscall -class Op_syscall: public OpSimple -{ -public: Op_syscall() : OpSimple({ 0x0F, 0x05 }) {} -}; +class Op_syscall: public OpSimple { public: Op_syscall(); }; |