MCPcopy Create free account
hub / github.com/djhworld/simple-computer / runSetOnIR

Method runSetOnIR

cpu/cpu.go:867–870  ·  view source on GitHub ↗
(state bool)

Source from the content-addressed store, hash-verified

865}
866
867func (c *CPU) runSetOnIR(state bool) {
868 c.irSetANDGate.Update(state, c.stepper.GetOutputWire(1))
869 updateSetStatus(&c.ir, c.irSetANDGate.Output())
870}
871
872func (c *CPU) runSetOnACC(state bool) {
873 c.accSetORGate.Update(

Callers 1

runSetMethod · 0.95

Calls 4

updateSetStatusFunction · 0.85
UpdateMethod · 0.65
GetOutputWireMethod · 0.65
OutputMethod · 0.45

Tested by

no test coverage detected