17.105 STRB (immediate)

Store Register Byte (immediate).

Syntax

STRB Wt, [Xn|SP], #simm ; Post-index general registers

STRB Wt, [Xn|SP, #simm]! ; Pre-index general registers

STRB Wt, [Xn|SP{, #pimm}] ; Unsigned offset general registers

Where:

simm
Is the signed immediate byte offset, in the range -256 to 255.
pimm
Is the optional positive immediate byte offset, in the range 0 to 4095, defaulting to 0.
Wt
Is the 32-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.

Usage

Store Register Byte (immediate) stores the least significant byte of a 32-bit register to memory. The address that is used for the store is calculated from a base register and an immediate offset. For information about memory accesses, see Load/Store addressing modes in the Arm® Architecture Reference Manual Arm®v8, for Arm®v8‑A architecture profile.

Note:

For information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors in the Arm® Architecture Reference Manual Arm®v8, for Arm®v8‑A architecture profile, and particularly STRB (immediate).
Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.