| 
 XOR 
 | 
 
Logical exclusive or 
 | 
 
XOR 
 | 
| 
 
eXclusive OR logical 
 | 
[Syntax]	
XOR     src, dest
 
[Operation]
dest = dest ^ src;
 
[Function]
-  | This instruction exclusive-ORs dest and src and places the result in dest.  | 
 
 
[Instruction Format]
| 
 | 
 | 
 | 
 | 
 | 
| 
 
XOR     src, dest 
 | 
 | 
 
#SIMM:8 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
#SIMM:16 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
#SIMM:24 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
#IMM:32 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
Rs 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
[Rs].memex 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
dsp:8[Rs].memex 
 | 
 
Rd 
 | 
 | 
| 
 | 
 
dsp:16[Rs].memex 
 | 
 
Rd 
 | 
 | 
 
[Flag Change]
Conditions
Z	: The flag is set if dest is 0 after the operation; otherwise it is cleared.
S	: The flag is set if the MSB of dest after the operation is 1 ; otherwise it is cleared.
 
[Description Example]
XOR     #8, R1
XOR     R1, R2
XOR     [R1], R2
XOR     16[R1].L, R2