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
11011001
001
imm9
01
Rn
Rt
 
Format Load/Store
Opcode 0xD9200000
Extension MTE (Memory Tagging)

Operands

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