mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
Fix shifts and rolls.
This commit is contained in:
@@ -190,7 +190,7 @@ struct TestProcessor: public CPU::MC68000Mk2::BusHandler {
|
|||||||
@"tas.json",
|
@"tas.json",
|
||||||
@"tst.json",
|
@"tst.json",
|
||||||
]];
|
]];
|
||||||
_testSet = [NSSet setWithArray:@[@"ASL/R e0d0"]];
|
// _testSet = [NSSet setWithArray:@[@"ASL/R e0d0"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)testAll {
|
- (void)testAll {
|
||||||
|
@@ -751,14 +751,14 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
|||||||
StdCASE(RTS, MoveToStateSpecific(RTS));
|
StdCASE(RTS, MoveToStateSpecific(RTS));
|
||||||
|
|
||||||
#define ShiftGroup(suffix, state) \
|
#define ShiftGroup(suffix, state) \
|
||||||
Duplicate(ASL##suffix, ASR##suffix); \
|
Duplicate(ASL##suffix, ASR##suffix); \
|
||||||
Duplicate(LSL##suffix, ASR##suffix); \
|
Duplicate(LSL##suffix, ASR##suffix); \
|
||||||
Duplicate(LSR##suffix, ASR##suffix); \
|
Duplicate(LSR##suffix, ASR##suffix); \
|
||||||
Duplicate(ROL##suffix, ASR##suffix); \
|
Duplicate(ROL##suffix, ASR##suffix); \
|
||||||
Duplicate(ROR##suffix, ASR##suffix); \
|
Duplicate(ROR##suffix, ASR##suffix); \
|
||||||
Duplicate(ROXL##suffix, ASR##suffix); \
|
Duplicate(ROXL##suffix, ASR##suffix); \
|
||||||
Duplicate(ROXR##suffix, ASR##suffix); \
|
Duplicate(ROXR##suffix, ASR##suffix); \
|
||||||
StdCASE(ASR##suffix, post_ea_state_ = state );
|
StdCASE(ASR##suffix, perform_state_ = state );
|
||||||
|
|
||||||
ShiftGroup(m, Perform_np)
|
ShiftGroup(m, Perform_np)
|
||||||
ShiftGroup(b, Perform_idle_dyamic_Dn)
|
ShiftGroup(b, Perform_idle_dyamic_Dn)
|
||||||
|
Reference in New Issue
Block a user