Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ IsAddressMode
Method
IsAddressMode
components/iobus.go:63–65 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
}
62
63
func
(i *IOBus) IsAddressMode() bool {
64
return
i.wires[DATA_OR_ADDRESS].Get() == true
65
}
66
67
func
(i *IOBus) Update(mode, dataOrAddress bool) {
68
i.wires[MODE].Update(mode)
Callers
1
Update
Method · 0.80
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected