mirror of
https://github.com/mre/mos6502.git
synced 2024-11-25 02:33:26 +00:00
branch_fi_minus_test() passes.
This commit is contained in:
parent
d70915ad0f
commit
8759b15d9e
@ -311,7 +311,7 @@ fn branch_if_minus_test() {
|
|||||||
let registers_before = machine.registers;
|
let registers_before = machine.registers;
|
||||||
|
|
||||||
machine.branch_if_minus(Address(0xABCD));
|
machine.branch_if_minus(Address(0xABCD));
|
||||||
assert_eq!(machine.registers, registers_before);
|
assert_eq!(machine.registers.status, registers_before.status);
|
||||||
assert_eq!(machine.registers.program_counter, Address(0xABCD));
|
assert_eq!(machine.registers.program_counter, Address(0xABCD));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user