summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/trivials.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'asm/intel64/trivials.cpp')
-rw-r--r--asm/intel64/trivials.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/intel64/trivials.cpp b/asm/intel64/trivials.cpp
index dd89ecd..094d27f 100644
--- a/asm/intel64/trivials.cpp
+++ b/asm/intel64/trivials.cpp
@@ -2,6 +2,10 @@
#include <asm/assembler.h>
+Op_nop::Op_nop(): OpSimple({ 0x90 }) {}
+Op_ret::Op_ret(): OpSimple({ 0xC3 }) {} // near return; TODO: far return is 0xCB
+Op_syscall::Op_syscall(): OpSimple({ 0x0F, 0x05 }) {}
+
namespace {
bool registered {