Difference between revisions of "XOR (binary)"
From veswiki
m |
m (1 revision) |
(No difference)
|
Revision as of 23:23, 16 November 2012
To XOR (eXclusive OR) one value with another is to compare the bits of each value, and only keep the ones which are true in one byte, not the other. For example, if you XOR'd these values:
%01100100 %00101110
You would get:
%01001010
Because only those bits are true in one byte or the other, but not both. The F8 can only XOR two bytes at a time.