diff --git a/InstructionSets/x86/Decoder.cpp b/InstructionSets/x86/Decoder.cpp index 08deedfd2..dd016adb2 100644 --- a/InstructionSets/x86/Decoder.cpp +++ b/InstructionSets/x86/Decoder.cpp @@ -14,6 +14,12 @@ using namespace InstructionSet::x86; +// TODO: instruction length limits: +// +// 8086/80186: none +// 80286: 10 bytes +// 80386: 15 bytes + template std::pair::InstructionT> Decoder::decode(const uint8_t *source, size_t length) { const uint8_t *const end = source + length;