1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-17 17:29:58 +00:00

Fix MOVEP to R.

This commit is contained in:
Thomas Harte 2022-05-23 09:00:37 -04:00
parent c73021cf3c
commit 1e8adc2bd9
2 changed files with 4 additions and 4 deletions

View File

@ -190,7 +190,7 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
@"tas.json",
@"tst.json",
]];
// _testSet = [NSSet setWithArray:@[@"MOVE from SR 40eb"]];
// _testSet = [NSSet setWithArray:@[@"MOVE[A] 094d"]];
}
- (void)testAll {

View File

@ -1696,15 +1696,15 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
temporary_address_.l += 2;
Access(temporary_value_.low); // nR
registers_[instruction_.reg(1)].w |= temporary_value_.b << 16;
registers_[instruction_.reg(1)].l |= temporary_value_.b << 16;
temporary_address_.l += 2;
Access(temporary_value_.low); // nr
registers_[instruction_.reg(1)].w |= temporary_value_.b << 8;
registers_[instruction_.reg(1)].l |= temporary_value_.b << 8;
temporary_address_.l += 2;
Access(temporary_value_.low); // nr
registers_[instruction_.reg(1)].w |= temporary_value_.b;
registers_[instruction_.reg(1)].l |= temporary_value_.b;
Prefetch(); // np
MoveToStateSpecific(Decode);