1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Confirms that a few other simple tests work immediately on the 65816.

This commit is contained in:
Thomas Harte 2020-10-09 23:26:35 -04:00
parent 290598429a
commit d9be6ab806

View File

@ -17,6 +17,21 @@ class WolfgangLorenzTests: XCTestCase, CSTestMachineTrapHandler {
func testWolfgangLorenzLDA65816() { func testWolfgangLorenzLDA65816() {
self.runWolfgangLorenzTest("lda", suffixes: ["b", "z", "zx", "a", "ax", "ay", "ix", "iy"], processor: .processor65816) self.runWolfgangLorenzTest("lda", suffixes: ["b", "z", "zx", "a", "ax", "ay", "ix", "iy"], processor: .processor65816)
} }
func testWolfgangLorenzSTA65816() {
self.runWolfgangLorenzTest("sta", suffixes: ["z", "zx", "a", "ax", "ay", "ix", "iy"], processor: .processor65816)
}
func testWolfgangLorenzLDX65816() {
self.runWolfgangLorenzTest("ldx", suffixes: ["b", "z", "zy", "a", "ay"], processor: .processor65816)
}
func testWolfgangLorenzSTX65816() {
self.runWolfgangLorenzTest("stx", suffixes: ["z", "zy", "a"], processor: .processor65816)
}
func testWolfgangLorenzLDY65816() {
self.runWolfgangLorenzTest("ldy", suffixes: ["b", "z", "zx", "a", "ax"], processor: .processor65816)
}
func testWolfgangLorenzSTY65816() {
self.runWolfgangLorenzTest("sty", suffixes: ["z", "zx", "a"], processor: .processor65816)
}
func testWolfgangLorenzStart() { func testWolfgangLorenzStart() {
self.runWolfgangLorenzTest(" start", processor: .processor6502) self.runWolfgangLorenzTest(" start", processor: .processor6502)