Swapping Bytes…
Dave,
If I remember correctly, (and I'll be corrected if I'm wrong), the
sequence you can use is this.
SWAP.B D0
SWAP.W D0
SWAP.B D0
The .B swaps the bytes in the low word and the .W swaps the upper and
lower word. I don't have my bools right here, but I think that the entire
operation can be done in 12-24 clocks.