summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-12 18:39:38 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-12 18:39:38 +0100
commit9f28c5b7fb5d97d5b5def918978d4232e5dde31e (patch)
treecc03a4824e53531cca0b1a0fdc87a1278e42d493 /asm/intel64
parent32e19781c554c83643fcab4c4f39a6a552c367f5 (diff)
implement restore of head recursion
Diffstat (limited to 'asm/intel64')
-rw-r--r--asm/intel64/codes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/intel64/codes.cpp b/asm/intel64/codes.cpp
index 21a891c..58d921f 100644
--- a/asm/intel64/codes.cpp
+++ b/asm/intel64/codes.cpp
@@ -49,7 +49,7 @@ namespace {
// Manual, page 530
// Reg + Reg/Memory
uint8_t ModRM(const std::string& reg, const std::string& rm) {
- uint8_t result{0b11000000};
+ uint8_t result{0b11000000}; // TODO: other than 11: Indexed forms of r/m
size_t val_reg{};
// reg