ldg

Load Allocation Tag

LDG <Xt>, [<Xn|SP>, #<simm>]

Loads the Allocation Tag from memory.

Details

The Load Allocation Tag instruction loads the Allocation Tag from memory.

Pseudocode Operation

// Loads the Allocation Tag from memory

Example

LDG x3, [x1, #-8]

Encoding

Binary Layout
11011001001
simm9
00
Xn
Xt
 
Format Load/Store
Opcode 0xD9200000
Extension MTE (Memory Tagging)

Operands

  • Xt
    Transfer 64-bit integer register (load/store)
  • Xn
    First source / base 64-bit integer register
  • simm
    Signed immediate offset