| 2231 | } |
| 2232 | |
| 2233 | bool cHardwareGP8::Inst_Move(cAvidaContext& ctx) |
| 2234 | { |
| 2235 | // In TestCPU, movement fails... |
| 2236 | if (m_organism->GetOrgInterface().GetCellID() == -1) return false; |
| 2237 | |
| 2238 | if (m_juv_enabled && m_organism->GetPhenotype().GetTimeUsed() < m_world->GetConfig().JUV_PERIOD.Get()) return false; |
| 2239 | |
| 2240 | if (!m_hw_queue_move) { |
| 2241 | m_hw_queue[m_hw_queued++] = aMOVE; |
| 2242 | m_hw_queue_move = true; |
| 2243 | } |
| 2244 | return true; |
| 2245 | } |
| 2246 | |
| 2247 | bool cHardwareGP8::Inst_GetNorthOffset(cAvidaContext& ctx) { |
| 2248 | const int out_reg = FindModifiedRegister(rBX); |
nothing calls this directly
no test coverage detected