1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-09 00:37:27 +00:00

Import more standard JSON; start validating.

This commit is contained in:
Thomas Harte 2022-04-20 09:17:00 -04:00
parent dc43f5605b
commit 85a0af03c1
2 changed files with 1836 additions and 1826 deletions

View File

@ -218,6 +218,16 @@ template <uint8_t op, bool validate> Preinstruction Predecoder<model>::validated
case AddressingMode::ImmediateData:
return Preinstruction();
}
case OpT(Operation::BTST): case OpT(Operation::BCHG):
case OpT(Operation::BSET): case OpT(Operation::BCLR):
switch(original.mode<1>()) {
default: return original;
case AddressingMode::None:
case AddressingMode::AddressRegisterDirect:
return Preinstruction();
}
}
}

File diff suppressed because it is too large Load Diff