GNU Info

Info Node: (nasm.info)Section B.4.331

(nasm.info)Section B.4.331


Next: Section B.4.332 Prev: Section B.4.330 Up: Section B.4
Enter node , (file) or (file)node

B.4.331. `XADD': Exchange and Add
---------------------------------

     XADD r/m8,reg8                ; 0F C0 /r             [486]
     XADD r/m16,reg16              ; o16 0F C1 /r         [486]
     XADD r/m32,reg32              ; o32 0F C1 /r         [486]

   `XADD' exchanges the values in its two operands, and then adds them
together and writes the result into the destination (first) operand.
This instruction can be used with a `LOCK' prefix for multi-processor
synchronisation purposes.


automatically generated by info2www version 1.2.2.9