mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Add bad attempt to catch subfc.
This commit is contained in:
parent
d84c72afe5
commit
8ad1f2d4f5
@ -315,7 +315,15 @@ enum class Operation: uint8_t {
|
||||
/// i.e. if rA() is 0 then the value 0 is used, not the contents of r0.
|
||||
stwx,
|
||||
|
||||
subfx, subfcx,
|
||||
subfx,
|
||||
|
||||
/// Subtract from carrying.
|
||||
/// subfc, subfc., subfco, subfco.
|
||||
///
|
||||
/// rD() = -rA() +rB() + 1
|
||||
///
|
||||
/// oe(), rc() apply.
|
||||
subfcx,
|
||||
subfex,
|
||||
|
||||
/// Subtract from immediate carrying
|
||||
|
@ -116,6 +116,17 @@ void AssertEqualOperationName(NSString *lhs, NSString *rhs) {
|
||||
|
||||
#undef ABCz
|
||||
|
||||
#define ABD(x) \
|
||||
case Operation::x: \
|
||||
AssertEqualOperationName(operation, @#x); \
|
||||
[self testABDInstruction:instruction columns:columns testZero:NO]; \
|
||||
break;
|
||||
|
||||
// ABD(subfc);
|
||||
// ABD(subfc_);
|
||||
|
||||
#undef ABD
|
||||
|
||||
case Operation::bcx:
|
||||
case Operation::bclrx:
|
||||
case Operation::bcctrx: {
|
||||
|
Loading…
Reference in New Issue
Block a user