mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 00:37:27 +00:00
DIV # with a divide by zero should be 44 cycles.
This commit is contained in:
parent
8ffaf1a8e4
commit
8e0fa3bb5f
@ -865,7 +865,7 @@
|
||||
XCTAssertEqual(state.registers.data[1], 0x1fffffff);
|
||||
XCTAssertEqual(state.registers.supervisor_stack_pointer, initial_sp - 6);
|
||||
XCTAssertEqual(state.registers.status & ConditionCode::AllConditions, ConditionCode::Extend);
|
||||
XCTAssertEqual(42, self.machine->get_cycle_count());
|
||||
XCTAssertEqual(44, self.machine->get_cycle_count());
|
||||
|
||||
// Check stack contents; should be PC.l, PC.h and status register.
|
||||
// Assumed: the program counter on the stack is that of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user