add logic to check jump conditions while scanning memory.