exg
Sizes
long
Default Size
long
Affected Flags
X
N
Z
V
C
-
-
-
-
-
Operands
Op 1
Dn/An
Op 2
Dn/An
Exchanges the values of the two operands, only works in 32 bits
Exchanges the values of the two operands, only works in 32 bits
* --- 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