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

Method Step

cpu/cpu.go:533–543  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531}
532
533func (c *CPU) Step() {
534 for i := 0; i < 2; i++ {
535 if c.clockState {
536 c.clockState = false
537 } else {
538 c.clockState = true
539 }
540
541 c.step(c.clockState)
542 }
543}
544
545func (c *CPU) String() string {
546 return fmt.Sprintf("STEPPER: %s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\nBUS1: %s\n%s\n%s\n",

Callers 2

doFetchDecodeExecuteFunction · 0.80
RunMethod · 0.80

Calls 1

stepMethod · 0.95

Tested by 1

doFetchDecodeExecuteFunction · 0.64