mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-16 16:28:59 +00:00
Add tests for non-immediate logicals.
This commit is contained in:
parent
7c8f044380
commit
4671b8db5c
@ -386,6 +386,25 @@ NSString *condition(uint32_t code) {
|
|||||||
|
|
||||||
#undef ABD
|
#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::bcx:
|
||||||
case Operation::bclrx:
|
case Operation::bclrx:
|
||||||
case Operation::bcctrx: {
|
case Operation::bcctrx: {
|
||||||
|
Loading…
Reference in New Issue
Block a user