MCPcopy 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
1213func setRegisters(c *CPU, values [4]uint16) {
1214 for i, v := range values {
1215 setRegister(c, i, v)
1216 }
1217}

Callers 15

TestSTThenLDFunction · 0.85
testSTFunction · 0.85
TestDATAFunction · 0.85
testJMPRFunction · 0.85
testJMPFunction · 0.85
testJMPConditionalFunction · 0.85

Calls 1

setRegisterFunction · 0.85

Tested by

no test coverage detected