====== WXOR, DWXOR ====== ''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. ^ ^ P ^ M ^ F ^ S ^ C ^ T ^ D ^ Constants ^ | s1 | | | | | O | O | O | O | | s2 | | | | | O | O | O | O | | d | | | | | O | O | O | | {{ :cubloc:wxor_dwxor:wxor.png?nolink |}} The following is result of above LADDER: {{ :cubloc:wxor_dwxor:wxor2.png?nolink |}} When you want to invert specific bits, you can use XOR logical operation. [[cubloc:index#Ladder_Logic:|Go CUBLOC Ladder Logic home]]