diff options
Diffstat (limited to 'asm/intel64/codes.cpp')
-rw-r--r-- | asm/intel64/codes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/intel64/codes.cpp b/asm/intel64/codes.cpp index 9f82d37..76108a1 100644 --- a/asm/intel64/codes.cpp +++ b/asm/intel64/codes.cpp @@ -78,7 +78,7 @@ std::vector<uint8_t> ModRM(const std::string& reg, const std::string& rm, int32_ if (disp == 0 && rm_bits != 5) { // no displacement // ignore: keep MOD == 00, no displacement bytes if (rm_bits == 5) - throw std::runtime_error("ICE: [rbp] with now displacement is not supported"); // TODO: Support this, and SIB byte + throw std::runtime_error("ICE: [rbp] with no displacement is not supported"); // TODO: Support this, and SIB byte } else if (disp >= -128 && disp < 128) { result |= 0b01000000; // 8 bit displacement displacement_bytes.push_back(uint8_t(disp)); |