ldrexh

Load Register Exclusive Halfword (A32)

LDREXH<c> <Rt>, [<Rn>]

Loads a halfword and marks address as exclusive.

Details

The Load Register Exclusive Halfword instruction loads a halfword and marks address as exclusive.

Pseudocode Operation

Rt ← Memory[address]

Example

LDREXH r3, [r1]

Encoding

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

Operands

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