summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/ret.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/intel64/ret.h')
-rw-r--r--asm/intel64/ret.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/asm/intel64/ret.h b/asm/intel64/ret.h
new file mode 100644
index 0000000..7e7f68c
--- /dev/null
+++ b/asm/intel64/ret.h
@@ -0,0 +1,12 @@
+// Return from procedure
+
+#pragma once
+
+#include <asm/chunk.h>
+
+class Op_ret: public OpSimple
+{
+public:
+ Op_ret() : OpSimple({ 0xC3 }) {} // near return; TODO: far return is 0xCB
+};
+