Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devosoft/avida
/ Inst_SenseResource1
Method
Inst_SenseResource1
avida-core/source/cpu/cHardwareCPU.cc:4405–4408 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4403
}
4404
4405
bool cHardwareCPU::Inst_SenseResource1(cAvidaContext& ctx)
4406
{
4407
return DoSenseResourceX(REG_BX, m_organism->GetCellID(), 1, ctx);
4408
}
4409
4410
bool cHardwareCPU::Inst_SenseResource2(cAvidaContext& ctx)
4411
{
Callers
nothing calls this directly
Calls
1
GetCellID
Method · 0.45
Tested by
no test coverage detected