mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-17 13:29:02 +00:00
Corrects JR cc tests.
This commit is contained in:
parent
3097c4ccae
commit
e4887c0c56
@ -421,14 +421,14 @@ class Z80MemptrTester: XCTestCase {
|
|||||||
machine.setValue(0x00, for: .AF)
|
machine.setValue(0x00, for: .AF)
|
||||||
testJR(instruction: 0x28)
|
testJR(instruction: 0x28)
|
||||||
|
|
||||||
machine.setValue(0x01, for: .AF)
|
machine.setValue(0xff, for: .AF)
|
||||||
testJR(instruction: 0x28)
|
testJR(instruction: 0x28)
|
||||||
|
|
||||||
// JR C
|
// JR C
|
||||||
machine.setValue(0x00, for: .AF)
|
machine.setValue(0x00, for: .AF)
|
||||||
testJR(instruction: 0x38)
|
testJR(instruction: 0x38)
|
||||||
|
|
||||||
machine.setValue(0x01, for: .AF)
|
machine.setValue(0xff, for: .AF)
|
||||||
testJR(instruction: 0x38)
|
testJR(instruction: 0x38)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user