XCHG exchanges the values in its two operands. It can be used
with a LOCK prefix for purposes of multi-processor
synchronisation.
XCHG AX,AX or XCHG EAX,EAX (depending on the BITS
setting) generates the opcode 90h, and so is a synonym for
NOP (NOP).