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:
parent
c73021cf3c
commit
1e8adc2bd9
@ -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 {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user