You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : LDTRSB

LDTRSB

Load Register Signed Byte (unprivileged).

Syntax

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

LDTRSB 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

Load Register Signed Byte (unprivileged) loads a signed byte from an address in memory, zero-extends it, and writes the result to a register. The address used for the load 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