Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ setRegisters
Function
setRegisters
cpu/cpu_test.go:1213–1217 ·
view source on GitHub ↗
(c *CPU, values [4]uint16)
Source
from the content-addressed store, hash-verified
1211
}
1212
1213
func
setRegisters(c *CPU, values [4]uint16) {
1214
for
i, v :=
range
values {
1215
setRegister(c, i, v)
1216
}
1217
}
Callers
15
TestFlagsRegisterAllFalse
Function · 0.85
TestFlagsRegisterCarryFlagEnabled
Function · 0.85
TestFlagsRegisterIsLargerFlagEnabled
Function · 0.85
TestFlagsRegisterIsEqualsFlagEnabled
Function · 0.85
TestFlagsRegisterIsZeroFlagEnabled
Function · 0.85
TestFlagsRegisterMultipleEnabled
Function · 0.85
TestSTThenLD
Function · 0.85
testST
Function · 0.85
TestDATA
Function · 0.85
testJMPR
Function · 0.85
testJMP
Function · 0.85
testJMPConditional
Function · 0.85
Calls
1
setRegister
Function · 0.85
Tested by
no test coverage detected