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

Function SetUpCPU

cpu/cpu_test.go:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12var MEMORY *memory.Memory64K = memory.NewMemory64K(BUS)
13
14func SetUpCPU() *CPU {
15 return NewCPU(BUS, MEMORY)
16}
17
18func ClearMem() {
19 for i := uint16(0); i < 65535; i++ {

Callers 15

TestSTThenLDFunction · 0.85
TestLD4TimesFunction · 0.85
testLDFunction · 0.85
testSTFunction · 0.85

Calls 1

NewCPUFunction · 0.85

Tested by

no test coverage detected