mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Test only well-defined flags.
Albeit that timing is still off.
This commit is contained in:
parent
93749cd650
commit
1625796cfe
@ -806,7 +806,9 @@
|
||||
|
||||
const auto state = self.machine->get_processor_state();
|
||||
XCTAssertEqual(state.registers.data[1], 0x80000000);
|
||||
XCTAssertEqual(state.registers.status & ConditionCode::AllConditions, ConditionCode::Extend | ConditionCode::Negative | ConditionCode::Overflow);
|
||||
XCTAssertEqual(
|
||||
state.registers.status & (ConditionCode::Extend | ConditionCode::Overflow | ConditionCode::Carry),
|
||||
ConditionCode::Extend | ConditionCode::Overflow);
|
||||
XCTAssertEqual(158, self.machine->get_cycle_count());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user