stg

Store Allocation Tag

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

Stores the Allocation Tag to memory.

Details

The Store Allocation Tag instruction stores the Allocation Tag to memory.

Pseudocode Operation

// Stores the Allocation Tag to memory

Example

STG Xt, [x1, #-8]

Encoding

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

Operands

  • Xt
    Tag Src
  • Xn
    First source / base 64-bit integer register
  • simm
    Signed immediate offset