1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Additional TST modes become available on the 68020.

This commit is contained in:
Thomas Harte 2022-10-27 09:49:20 -04:00
parent cabf1a052c
commit 3f80df1feb

View File

@ -365,7 +365,7 @@ template <typename Predecoder<model>::OpT op> uint32_t Predecoder<model>::invali
>::value;
case OpT(Operation::TSTb):
if constexpr (model == Model::M68000) {
if constexpr (model < Model::M68020) {
return ~OneOperandMask<
AlterableAddressingModesNoAn
>::value;
@ -378,7 +378,7 @@ template <typename Predecoder<model>::OpT op> uint32_t Predecoder<model>::invali
>::value;
case OpT(Operation::TSTw): case OpT(Operation::TSTl):
if constexpr (model == Model::M68000) {
if constexpr (model < Model::M68020) {
return ~OneOperandMask<
AlterableAddressingModesNoAn
>::value;