exg
Exchange registers
Exchanges the full long contents of two registers.
Size .l
XNZVC –––––
- Changes no flag
Forms
Operands
Rn- A data or address register,
d0tod7ora0toa7. More
* --- Data registers ---
move.l #$AAAA, d0
move.l #$BBBB, d1
exg d0, d1
* --- Data and address register ---
move.l #$1234, d2
move.l #$5678, a0
exg d2, a0