summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/codes.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-09 10:35:00 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-09 10:35:00 +0100
commit6ab3715ee2622e293f7c4924511f31347b327e6e (patch)
treeeca588d3d8c320cb25f209b76db91b95cd9f5614 /asm/intel64/codes.cpp
parent1ac8ab06e9aad3b6d22685255459d71cb49e1f28 (diff)
Implement inc instruction, support 64 bit regs
Diffstat (limited to 'asm/intel64/codes.cpp')
-rw-r--r--asm/intel64/codes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/intel64/codes.cpp b/asm/intel64/codes.cpp
index 5d93a57..21a891c 100644
--- a/asm/intel64/codes.cpp
+++ b/asm/intel64/codes.cpp
@@ -37,6 +37,11 @@ namespace {
{"ebx", 3}, {"ebp", 5},
{"ecx", 1}, {"esi", 6},
{"edx", 2}, {"edi", 7},
+
+ {"rax", 0}, {"rsp", 4},
+ {"rbx", 3}, {"rbp", 5},
+ {"rcx", 1}, {"rsi", 6},
+ {"rdx", 2}, {"rdi", 7},
};
}