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

Method Inst_GetDirectionOffNorth

avida-core/source/cpu/cHardwareCPU.cc:7767–7771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7765}
7766
7767bool cHardwareCPU::Inst_GetDirectionOffNorth(cAvidaContext&) {
7768 const int out_reg = FindModifiedRegister(REG_BX);
7769 GetRegister(out_reg) = m_organism->GetFacedDir();
7770 return true;
7771}
7772
7773bool cHardwareCPU::Inst_GetNortherly(cAvidaContext&) {
7774 const int out_reg = FindModifiedRegister(REG_BX);

Callers

nothing calls this directly

Calls 1

GetFacedDirMethod · 0.45

Tested by

no test coverage detected