Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
XOR Instruction
 Detail Key Example                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Exclusive OR                          Flags: O D I T S Z A P C
                                                         ═════════════════
  Syntax:   XOR dest,src                                 0       ± ± ? ± 0
 
  See also: XOR Operator, AND, OR, NOT, SHL, SHR, OPTION
NOSIGNEXTEND
 
  Description:
 
     Performs a bitwise exclusive OR operation on the source and
     destination operands, and stores the result in the destination.
 
     For each bit position in the operands, if both bits are set or if
     both bits are cleared, the corresponding bit of the result is
     cleared. Otherwise, the corresponding bit of the result is set.
                                    -♦-