The XCHD instruction exchanges the low-order nibble of the accumulator with the low-order nibble of the specified internal RAM location.
The internal RAM is accessed indirectly through R0 or R1.
The high-order nibbles of each operand are not affected.
XCHD A,@Ri
XCHD A,@R1 ;1 byte 1 cycle