(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestFlagsRegisterAllFalse(t *testing.T) { |
| 59 | ClearMem() |
| 60 | c := SetUpCPU() |
| 61 | |
| 62 | setMemoryLocation(c, 0x0000, 0x0081) |
| 63 | setRegisters(c, [4]uint16{0x0009, 0x000A, 0x0002, 0x0003}) |
| 64 | c.SetIAR(0x0000) |
| 65 | |
| 66 | doFetchDecodeExecute(c) |
| 67 | |
| 68 | checkFlagsRegister(c, false, false, false, false, t) |
| 69 | } |
| 70 | |
| 71 | func TestFlagsRegisterCarryFlagEnabled(t *testing.T) { |
| 72 | ClearMem() |
nothing calls this directly
no test coverage detected