(t *testing.T)
| 121 | } |
| 122 | |
| 123 | func TestFlagsRegisterMultipleEnabled(t *testing.T) { |
| 124 | ClearMem() |
| 125 | c := SetUpCPU() |
| 126 | |
| 127 | setMemoryLocation(c, 0x0000, 0x0081) |
| 128 | setRegisters(c, [4]uint16{0xFFFF, 0x0001, 0x0002, 0x0003}) |
| 129 | c.SetIAR(0x0000) |
| 130 | |
| 131 | doFetchDecodeExecute(c) |
| 132 | |
| 133 | checkFlagsRegister(c, true, true, false, true, t) |
| 134 | } |
| 135 | func TestSTThenLD(t *testing.T) { |
| 136 | ClearMem() |
| 137 | c := SetUpCPU() |
nothing calls this directly
no test coverage detected