1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-29 16:55:59 +00:00

Add TODO.

This commit is contained in:
Thomas Harte 2022-03-10 16:47:54 -05:00
parent a2ae3771eb
commit bf7faa80c1

View File

@ -14,6 +14,12 @@
using namespace InstructionSet::x86;
// TODO: instruction length limits:
//
// 8086/80186: none
// 80286: 10 bytes
// 80386: 15 bytes
template <Model model>
std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(const uint8_t *source, size_t length) {
const uint8_t *const end = source + length;