aand
Atomically AND
AAND m32, r32
Atomically ANDs a value to a remote memory location.
Details
Atomically ANDs a 32-bit register value with a memory location without acquiring a lock and without returning the old value. This remote atomic operation guarantees atomicity via cache coherency mechanisms; it does not serialize the entire pipeline but provides store-ordering guarantees. No flags are modified.
Pseudocode Operation
atomic_and([dest], src);
// Semantically: [dest] ← [dest] & src
Example
AAND [rbp-4], eax
Encoding
Binary Layout
66
+0
0F
+1
38
+2
FC
+3
ModRM
+4
Operands
-
dest
Mem -
src
Reg
Related
More in RAO-INT