Whoops: Correct dodgy CMP test. That explains why I never understood why it was failing!

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-10-14 21:26:33 +01:00
parent 9d71c78338
commit 140e87485c

View File

@ -496,7 +496,7 @@ TEST_CASE("Compare Memory with a Register (8-bit)", "[CMP][CMPA][CMPB]") {
REQUIRE(cpu.X() == 0x00); REQUIRE(cpu.X() == 0x00);
REQUIRE(cpu.Y() == 0x206); REQUIRE(cpu.Y() == 0x206);
REQUIRE(cpu.U() == 0); REQUIRE(cpu.U() == 0);
REQUIRE((cpu.CC() & EightBit::mc6809::CF) != 0); REQUIRE((cpu.CC() & EightBit::mc6809::ZF) != 0);
REQUIRE(cpu.cycles() == 6); REQUIRE(cpu.cycles() == 6);
} }