ldrex

Load Register Exclusive (A32)

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

Loads a word and marks physical address as exclusive.

Details

The Load Register Exclusive instruction loads a word and marks physical address as exclusive.

Pseudocode Operation

Rt ← Memory[address]

Example

LDREX r3, [r1]

Encoding

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

Operands

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