Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ updateIOBus
Method
updateIOBus
cpu/cpu.go:644–646 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
642
}
643
644
func
(c *CPU) updateIOBus() {
645
c.ioBus.Update(c.ir.Bit(12), c.ir.Bit(13))
646
}
647
648
func
(c *CPU) updateALU() {
649
//update ALU operation based on instruction register
Callers
1
updateStates
Method · 0.95
Calls
2
Bit
Method · 0.80
Update
Method · 0.65
Tested by
no test coverage detected