strexh

Store Register Exclusive Halfword (A32)

STREXH<c> <Rd>, <Rt>, [<Rn>]

Stores a halfword if address is still exclusive.

Details

The Store Register Exclusive Halfword instruction stores a halfword if address is still exclusive.

Pseudocode Operation

Memory[address] ← Rt

Example

STREXH r0, r3, [r1]

Encoding

Binary Layout
cond
0001
1110
Rn
Rd
1111
1001
Rt
 
Format Load/Store Excl
Opcode 0x01E00F90
Extension A32 (Atomic)

Operands

  • Rd
    Status
  • Rt
    Transfer general-purpose register (load/store)
  • Rn
    First source / base general-purpose register