1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-18 14:40:33 +00:00

Fix CMPA output.

This commit is contained in:
Thomas Harte 2022-04-20 16:31:59 -04:00
parent 20d54c0397
commit 32f946b3f0

View File

@ -930,9 +930,13 @@ struct ProcessorStorageConstructor {
case Operation::BCLRl: opname = "BCLR.l"; break;
case Operation::CMPb: opname = "CMP.b"; break;
case Operation::CMPw: opname = "CMP.w"; break;
case Operation::CMPl: opname = "CMP.l"; break;
case Operation::CMPAw: opname = "CMPA"; break;
case Operation::CMPw:
opname = "CMP.w";
break;
case Operation::CMPl:
opname = (dest_ == An) ? "CMPA.l" : "CMP.l";
break;
case Operation::CMPAw: opname = "CMPA.w"; break;
case Operation::TSTb: opname = "TST.b"; break;
case Operation::TSTw: opname = "TST.w"; break;
case Operation::TSTl: opname = "TST.l"; break;