(state bool)
| 788 | } |
| 789 | |
| 790 | func (c *CPU) runSet(state bool) { |
| 791 | c.irInstructionANDGate.Update(c.ir.Bit(11), c.ir.Bit(10), c.ir.Bit(9)) |
| 792 | c.irInstructionNOTGate.Update(c.irInstructionANDGate.Output()) |
| 793 | |
| 794 | c.refreshFlagStateGates() |
| 795 | |
| 796 | c.runSetOnIO(state) |
| 797 | c.runSetOnMAR(state) |
| 798 | c.runSetOnIAR(state) |
| 799 | c.runSetOnIR(state) |
| 800 | c.runSetOnACC(state) |
| 801 | c.runSetOnRAM(state) |
| 802 | c.runSetOnTMP(state) |
| 803 | c.runSetOnFLAGS(state) |
| 804 | c.runSetOnRegisterB() |
| 805 | c.runSetGeneralPurposeRegisters(state) |
| 806 | } |
| 807 | |
| 808 | func (c *CPU) refreshFlagStateGates() { |
| 809 | /* |
no test coverage detected