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:
parent
dc43f5605b
commit
85a0af03c1
@ -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
Loading…
x
Reference in New Issue
Block a user