mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
BIT/SET (IX+d) were incorrectly encoded. Hence fixed BIT (IX+d).
This commit is contained in:
parent
378233f53d
commit
99ede3a9ef
@ -840,7 +840,7 @@ class Z80MachineCycleTests: XCTestCase {
|
||||
// BIT n,(IX+d)
|
||||
func testBITIX() {
|
||||
test(
|
||||
program: [0xdb, 0xcb, 0x00, 0x46],
|
||||
program: [0xdd, 0xcb, 0x00, 0x46],
|
||||
busCycles: [
|
||||
MachineCycle(operation: .readOpcode, length: 4),
|
||||
MachineCycle(operation: .readOpcode, length: 4),
|
||||
@ -854,7 +854,7 @@ class Z80MachineCycleTests: XCTestCase {
|
||||
// SET n,(IX+d)
|
||||
func testSETIX() {
|
||||
test(
|
||||
program: [0xdb, 0xcb, 0x00, 0xc6],
|
||||
program: [0xdd, 0xcb, 0x00, 0xc6],
|
||||
busCycles: [
|
||||
MachineCycle(operation: .readOpcode, length: 4),
|
||||
MachineCycle(operation: .readOpcode, length: 4),
|
||||
|
Loading…
x
Reference in New Issue
Block a user