mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
Add TODO.
This commit is contained in:
@@ -14,6 +14,12 @@
|
|||||||
|
|
||||||
using namespace InstructionSet::x86;
|
using namespace InstructionSet::x86;
|
||||||
|
|
||||||
|
// TODO: instruction length limits:
|
||||||
|
//
|
||||||
|
// 8086/80186: none
|
||||||
|
// 80286: 10 bytes
|
||||||
|
// 80386: 15 bytes
|
||||||
|
|
||||||
template <Model model>
|
template <Model model>
|
||||||
std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(const uint8_t *source, size_t length) {
|
std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(const uint8_t *source, size_t length) {
|
||||||
const uint8_t *const end = source + length;
|
const uint8_t *const end = source + length;
|
||||||
|
Reference in New Issue
Block a user