If I XOR the upper Nybble of a tasty Byte, will I have more friends?
If you do it twice you'll be where you started.
See the (bit)pattern?

Except in the case where you XOR it with itself... the first time will zero it, and the second will just leave it set to zero.
This is why the "swap two values without an intermediate location" trick only works if you can guarantee that the two locations holding the values are different.
![]()
![]()
Take the 'mask' off.
I have absolutely no idea what any of you are talking about![]()


I have absolutely no idea what any of you are talking about![]()
