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