Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->XCH
XCH Exchange Accumulator with Byte Variable
This instruction loads the accumulator with the contents of the indicated variable and at the same time writes the original accumulator contents to the indicated variable.
|Exchange Register and Accumulator:||XCH A,Rn||1||1|
|Exchange Memory and Accumulator:||XCH A,<direct addr>||2||1|
|Exchange Indirect Address and Accumulator:||XCH A,@Ri||1||1|