Otherwise, it is possible that the register used by the temp is overridden by a subsequent instruction within the same loop.