5.89. Exchange Bytes in Register


Addr
Mode  Mnemonic          Format/Opcode
                           8      4      4
                        ---------------------
S     XBR  RA           |  EC  |  RA  |  0  |
                        ---------------------

Description. The upper byte of register RA is exchanged with the lower byte of register RA. The CS is set based on the result in register RA.

Register Transfer Description.

(RA)0-7 <-->= (RA)8-15;
(CS) <-- 0010  if (RA) = 0;
(CS) <-- 0001  if (RA) < 0;
(CS) <-- 0100  if (RA) > 0;



Registers Affected. RA, CS