sttrh

Store Register Halfword (Unprivileged)

STTRH <Wt>, [<Xn|SP>, #<simm>]

Stores a halfword as if in EL0.

Details

The Store Register Halfword instruction stores a halfword as if in EL0.

Pseudocode Operation

// Stores a halfword as if in EL0

Example

STTRH w3, [x1, #-8]

Encoding

Binary Layout
01111000
000
imm9
00
Rn
Rt
 
Format Load/Store
Opcode 0x78000000
Extension Base

Operands

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