mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
BIT/SET (IX+d) were incorrectly encoded. Hence fixed BIT (IX+d).
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user