Skip to content

FETCHOR

Operation

Atomically ORs source with memory and returns the old memory value in the source register.

Assembler Syntax

FETCHOR.{B|W|L|Q}(z)/order(o) Rn(s), <ea>(e)

Privilege

Unprivileged

Atomically replaces the memory operand with the selected-width bitwise disjunction of the old memory value and the source, and returns the old memory value in the source register.

2.75in

Encodings

FETCHOR.{B|W|L|Q}(z)/order(o) Rn(s), <ea>(e)

Format: Instruction format for FETCHOR.{B|W|L|Q}(z)/order(o) Rn(s), <ea>(e)

Format: Instruction format for FETCHOR.{B|W|L|Q}(z)/order(o) Rn(s), <ea>(e)

orderallowed: 0x0..0x4 [memory_order_reserved_reclaimed]

memoryexcluded: immediate [memory_operand_required]