1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Add tests for non-immediate logicals.

This commit is contained in:
Thomas Harte 2022-04-01 17:35:47 -04:00
parent 7c8f044380
commit 4671b8db5c

View File

@ -386,6 +386,25 @@ NSString *condition(uint32_t code) {
#undef ABD
#define ASB(x) \
case Operation::x: \
AssertEqualOperationNameE(operation, @#x, instruction); \
AssertEqualR(columns[3], instruction.rA()); \
AssertEqualR(columns[4], instruction.rS()); \
AssertEqualR(columns[5], instruction.rB()); \
break;
ASB(andx);
ASB(andcx);
ASB(norx);
ASB(eqvx);
ASB(xorx);
ASB(orcx);
ASB(orx);
ASB(nandx);
#undef ASB
case Operation::bcx:
case Operation::bclrx:
case Operation::bcctrx: {