WXOR s1, s2, d
DWXOR s1, s2, d
These commands logically XOR s1 and s2 and store the result in d. WXOR divides word values and DWXOR divides double word values.
The following is result of above LADDER:
When you want to invert specific bits, you can use XOR logical operation.