()
| 907 | } |
| 908 | |
| 909 | func (c *CPU) runSetOnRegisterB() { |
| 910 | c.registerBSetORGate.Update( |
| 911 | c.step5Gates[1].Output(), |
| 912 | c.step6Gates[0].Output(), |
| 913 | c.step5Gates[3].Output(), |
| 914 | c.step5Gate3And.Output(), |
| 915 | ) |
| 916 | |
| 917 | c.registerBSet.Update(c.registerBSetORGate.Output()) |
| 918 | } |
| 919 | |
| 920 | func (c *CPU) runSetGeneralPurposeRegisters(state bool) { |
| 921 | c.instructionDecoderSet2x4.Update(c.ir.Bit(14), c.ir.Bit(15)) |