(state bool)
| 870 | } |
| 871 | |
| 872 | func (c *CPU) runSetOnACC(state bool) { |
| 873 | c.accSetORGate.Update( |
| 874 | c.stepper.GetOutputWire(0), |
| 875 | c.step4Gates[3].Output(), |
| 876 | c.step4Gates[6].Output(), |
| 877 | c.step5Gates[0].Output(), |
| 878 | ) |
| 879 | c.accSetANDGate.Update(state, c.accSetORGate.Output()) |
| 880 | updateSetStatus(&c.acc, c.accSetANDGate.Output()) |
| 881 | } |
| 882 | |
| 883 | func (c *CPU) runSetOnFLAGS(state bool) { |
| 884 | c.flagsSetORGate.Update( |
no test coverage detected