stxrh

Store Exclusive Register Halfword

STXRH <Ws>, <Wt>, [<Xn|SP>]

Stores a halfword if exclusive monitor matches.

Details

The Store Exclusive Register Halfword instruction stores a halfword if exclusive monitor matches.

Pseudocode Operation

Memory[address] ← Wt

Example

STXRH w6, w3, [x1]

Encoding

Binary Layout
01001000
000
00000
Rs
11111
Rn
Rt
 
Format Load/Store Excl
Opcode 0x48007C00
Extension Base (Atomic)

Operands

  • Ws
    Status
  • Wt
    Transfer 32-bit integer register (load/store)
  • Xn
    First source / base 64-bit integer register