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

Method runEnable

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

Source from the content-addressed store, hash-verified

702}
703
704func (c *CPU) runEnable(state bool) {
705 c.runEnableOnIO(state)
706 c.runEnableOnIAR(state)
707 c.runEnableOnBusOne(state)
708 c.runEnableOnACC(state)
709 c.runEnableOnRAM(state)
710 c.runEnableOnRegisterB()
711 c.runEnableOnRegisterA()
712 c.runEnableGeneralPurposeRegisters(state)
713}
714
715func (c *CPU) runEnableOnIO(state bool) {
716 c.ioBusEnableGate.Update(state, c.step5Gate3And.Output())

Callers 1

stepMethod · 0.95

Calls 8

runEnableOnIOMethod · 0.95
runEnableOnIARMethod · 0.95
runEnableOnBusOneMethod · 0.95
runEnableOnACCMethod · 0.95
runEnableOnRAMMethod · 0.95
runEnableOnRegisterBMethod · 0.95
runEnableOnRegisterAMethod · 0.95

Tested by

no test coverage detected