orr

Logical OR (A32)

ORR{S}<c> <Rd>, <Rn>, <Operand2>

Performs bitwise OR.

Details

The Logical OR instruction performs bitwise OR.

Pseudocode Operation

Rd ← Rn OR Operand2

Example

ORR r0, r1, r2

Encoding

Binary Layout
cond
00
1
1100
S
Rn
Rd
imm12
 
Format Data Proc
Opcode 0x03800000
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • Rn
    First source / base general-purpose register
  • Operand2
    Flexible second operand (register or shifted register)