CMPXCHG8B.htm
Command: CMPXCHG8B - Compare and Exchange Eight Bytes
Arguments: DEST: memory location
Usage: CMPXCHG8B DEST
Effects: Compares the 64-bit value stored at DEST with the value in EDX:EAX. If they are equal, it sets the zero flag and stores ECX:EBX into the memory area. If they are unequal, it clears the zero flag and stores the memory contents into EDX:EAX.
Flags to be set: ZF
Misc: See also CMPXCHG