MCPcopy Create free account
hub / github.com/djhworld/simple-computer / TestJMP

Function TestJMP

cpu/cpu_test.go:350–355  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

348}
349
350func TestJMP(t *testing.T) {
351 ClearMem()
352 for i := 0; i < 0x0400; i++ {
353 testJMP(uint16(i), t)
354 }
355}
356
357func testJMP(expectedIAR uint16, t *testing.T) {
358 c := SetUpCPU()

Callers

nothing calls this directly

Calls 2

ClearMemFunction · 0.85
testJMPFunction · 0.85

Tested by

no test coverage detected