You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : LDARH

LDARH

Load-Acquire Register Halfword.

Syntax

LDARH Wt, [Xn|SP{,#0}]

Where:

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

Load-Acquire Register Halfword derives an address from a base register value, loads a halfword from memory, zero-extends it, and writes it to a register. The instruction also has memory ordering semantics as described in Load-Acquire, Store-Release in the ARMv8-A Architecture Reference Manual. For information about memory accesses see Load/Store addressing modes in the ARMv8-A Architecture Reference Manual.

Was this page helpful? Yes No