Why xor eax, eax?(xania.org)
518 points by hasheddan | 189 comments
Matt Godbolt's blog post explaining why compilers emit xor eax, eax to zero a register on x86 and why it is among the most executed instructions.
2 stories tagged xor, newest first.
518 points by hasheddan | 189 comments
Matt Godbolt's blog post explaining why compilers emit xor eax, eax to zero a register on x86 and why it is among the most executed instructions.
541 points by mariuz | 91 comments
Simon Tatham's long-form essay explaining the XOR operation in boolean logic and on integers, its properties, and applications such as cryptography, graphics, and swaps.