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

Method AbsSet

avida-core/source/cpu/cHeadCPU.h:72–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 inline void SetFullLocation(int loc) { m_position = loc & 0xFFFFFF; m_mem_space = (loc >> 24); Adjust(); }
71 inline void Set(const cHeadCPU& in_head) { m_position = in_head.m_position; m_mem_space = in_head.m_mem_space; }
72 inline void AbsSet(int new_pos) { m_position = new_pos; }
73
74 inline void Jump(int jump) { m_position += jump; Adjust(); }
75 inline void AbsJump(int jump) { m_position += jump; }

Callers 3

FindLabelMethod · 0.80
FindLabelInMemoryMethod · 0.80
FindLabelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected