1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00

BTST does not write back.

This commit is contained in:
Thomas Harte 2022-05-05 12:32:15 -04:00
parent 67462c2f92
commit f63a872387
2 changed files with 3 additions and 2 deletions

View File

@ -317,6 +317,7 @@ template <Model model, Operation t_operation = Operation::Undefined> uint8_t ope
case Operation::CMPb: case Operation::CMPw: case Operation::CMPl:
case Operation::CMPAw: case Operation::CMPAl:
case Operation::CHK:
case Operation::BTST:
return FetchOp1 | FetchOp2;
//
@ -349,7 +350,7 @@ template <Model model, Operation t_operation = Operation::Undefined> uint8_t ope
case Operation::RORb: case Operation::RORw: case Operation::RORl:
case Operation::ROXLb: case Operation::ROXLw: case Operation::ROXLl:
case Operation::ROXRb: case Operation::ROXRw: case Operation::ROXRl:
case Operation::BTST: case Operation::BCHG:
case Operation::BCHG:
case Operation::BCLR: case Operation::BSET:
return FetchOp1 | FetchOp2 | StoreOp2;

View File

@ -71,7 +71,7 @@
- (void)setUp {
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
_fileSet = [NSSet setWithArray:@[@"move.json"]];
// _testSet = [NSSet setWithArray:@[@"LINK.w 0007"]];
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 033c"]];
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
}