summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/intel64/codes.h')
-rw-r--r--asm/intel64/codes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/intel64/codes.h b/asm/intel64/codes.h
new file mode 100644
index 0000000..32eff1c
--- /dev/null
+++ b/asm/intel64/codes.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <cstdint>
+#include <string>
+#include <vector>
+
+// REX prefix: 0b0100WRXB
+std::vector<uint8_t> REX(std::string s);