Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->XCHD
XCHD Exchange Digit
This instruction exchanges the low order nibble of the accumulator (bits 3-0) with that of the internal RAM location indirectly addressed by the specified register. The high order nibbles of each register are unaffected. In general this is used when the low order nibbles are representing hexadecimal or BCD digits).
|Exchange Indirect Address and Accumulator:||XCHD A,@Ri||1||1|