ldrexh

Load Register Exclusive Halfword (Thumb)

LDREXH <Rt>, [<Rn>]

Loads halfword exclusively (Thumb).

Details

The Load Register Exclusive Halfword instruction loads halfword exclusively (Thumb).

Pseudocode Operation

Rt ← Memory[address]

Example

LDREXH r3, [r1]

Encoding

Binary Layout
111010001101
Rn
Rt
1111
0101
1111
 
Format Thumb Load Excl
Opcode 0xE8D00F5F
Extension A32 (Atomic)

Operands

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