aor

Atomically OR

AOR m32, r32

Atomically ORs a value to a remote memory location.

Details

Atomically ORs a 32-bit register value with a memory location without acquiring a lock and without returning the old value. This remote atomic operation uses cache coherency to guarantee atomicity; it does not serialize the full pipeline but enforces store ordering. No flags are modified.

Pseudocode Operation

atomic_or([dest], src);
// Semantically: [dest] ← [dest] | src

Example

AOR [rbp-4], eax

Encoding

Binary Layout
66
+0
0F
+1
38
+2
FC
+3
ModRM
+4
 
Format VEX
Opcode F2 0F 38 FC !(11):rrr:bbb
Extension RAO-INT

Operands

  • dest
    Mem
  • src
    Reg

Related

More in RAO-INT