The XRL instruction performs a logical exclusive OR operation between the specified operands. The result is stored in the destination operand.
Note : When this instruction is used to modify an output port, the value used as the port data is read from the output data latch, not the pins of the port.
XRL source,destination
XRL A,#10H ;2 bytes 1 cycle XRL A,@R1 ;1 byte 1 cycle XRL A,30h ;2 bytes 1 cycle XRL A,R6 ;1 byte 1 cycle XRL 30h,#12h ;3 bytes 2 cycles XRL 30h,A ;2 bytes 1 cycle