You copied the Doc URL to your clipboard.


Store Register Halfword (unprivileged).


STTRH Wt, [Xn|SP{, #simm}]


Is the 32-bit name of the general-purpose register to be transferred.
Is the 64-bit name of the general-purpose base register or stack pointer.
Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0.


Store Register Halfword (unprivileged) stores a halfword from a 32-bit register to memory. The address that is used for the store is calculated from a base register and an immediate offset.

The memory is restricted as if execution is at EL0 when:

  • Executing at EL1.
  • Executing at EL2, in ARMv8.1, with HCR_EL2.{E2H, TGE} set to {1, 1}.

Otherwise, the access permission is for the Exception level at which the instruction is executed. For information about memory accesses, see Load/Store addressing modes in the ARMv8-A Architecture Reference Manual.