MCPcopy Create free account
hub / github.com/devosoft/avida / Clear

Method Clear

avida-core/source/cpu/cCPUStack.h:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82inline void cCPUStack::Clear()
83{
84 for (int i = 0; i < nHardware::STACK_SIZE; i++) stack[i] = 0;
85 stack_pointer = 0;
86}
87
88inline int cCPUStack::Top()
89{

Callers 15

PerformUpdateMethod · 0.45
internalResetMethod · 0.45
ResetMethod · 0.45
ReadInstMethod · 0.45
readLabelMethod · 0.45
internalResetMethod · 0.45
ResetMethod · 0.45
ReadInstMethod · 0.45
ReadLabelMethod · 0.45
TestGenomeMethod · 0.45
loadInstSetMethod · 0.45
internalResetMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestGenomeMethod · 0.36