EXG

EXG

Operation:
Rx \s-->; Ry

Assembler Syntax:
EXG Dx, Dy
EXG As, Ay
EXG Dx, Ay
EXG Ay, Dx

Attributes: Size = (Quad)

Description: Exchanged the contents of two 32-bit registers.
The instruction performs three types of exchanges:
1. Exchange data registers.
2. Exchange address registers.
3. Exchange a data register and an address register.

Condition Codes:
Not affected.