update logic to check jump conditions while scanning memory.