Changed mov to xor for efficiency.#