The CMPXCHG16B instruction performs an atomic compare-and-exchange on 16-byte values. This instruction may also be referred to as CompareExchange128. Atomic compare-and-exchange means that the CPU compares the contents of a memory location with a given value. If they are the same, modifies the contents of that memory location to a new given value.