mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-04 13:31:26 +00:00
Resolve TODO.
This commit is contained in:
parent
dc1d1f132e
commit
f694620087
@ -610,7 +610,9 @@ std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(con
|
||||
|
||||
Source memreg;
|
||||
|
||||
// TODO: can I just eliminate these lookup tables given the deliberate ordering within Source?
|
||||
// These tables are fairly redundant due to the register ordering within
|
||||
// Source, but act to improve readability and permit further Source
|
||||
// reordering in the future.
|
||||
constexpr Source reg_table[8] = {
|
||||
Source::eAX, Source::eCX, Source::eDX, Source::eBX,
|
||||
Source::eSPorAH, Source::eBPorCH, Source::eSIorDH, Source::eDIorBH,
|
||||
|
Loading…
x
Reference in New Issue
Block a user