(state bool)
| 881 | } |
| 882 | |
| 883 | func (c *CPU) runSetOnFLAGS(state bool) { |
| 884 | c.flagsSetORGate.Update( |
| 885 | c.step5Gates[0].Output(), |
| 886 | c.step4Gates[7].Output(), |
| 887 | ) |
| 888 | c.flagsSetANDGate.Update(state, c.flagsSetORGate.Output()) |
| 889 | updateSetStatus(&c.flags, c.flagsSetANDGate.Output()) |
| 890 | } |
| 891 | |
| 892 | func (c *CPU) runSetOnRAM(state bool) { |
| 893 | c.ramSetANDGate.Update(state, c.step5Gates[2].Output()) |
no test coverage detected