3 ms·
The op "XOR" the the "xor" operation between two things and stores the result in the first operand. "XOR"ing a number with itself always results in 0, which is
by jedimastert 7y ago
The op "XOR" the the "xor" operation between two things and stores the result in the first operand. "XOR"ing a number with itself always results in 0, which is then stored in the operand itself.
This operation was almost always faster than moving a constant (like 0) into a register, because of all of the overhead of making the constant and reading and writing.