You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : STTR

STTR

Store Register (unprivileged).

Syntax

STTR Wt, [Xn|SP{, #simm}] ; 32-bit general registers

STTR Xt, [Xn|SP{, #simm}] ; 64-bit general registers

Where:

Wt

Is the 32-bit name of the general-purpose register to be transferred.

Xt

Is the 64-bit name of the general-purpose register to be transferred.

Xn|SP

Is the 64-bit name of the general-purpose base register or stack pointer.

simm

Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0.

Usage

Store Register (unprivileged) stores a word or doubleword from an address in memory and zero-extends it. The address used for the store is calculated from a base register and an immediate offset. When executed at EL1, the memory access is restricted as if execution was at EL0. 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.

Was this page helpful? Yes No