6.3.1. Load instruction format

The general form of a Load instruction is as follows:

  LDR Rt, <addr>

For loads into integer registers, you can choose a size to load. For example, to load a size smaller than the specified register value, append one of the following suffixes to the LDR instruction:

There are also unscaled-offset forms such as LDUR<type> (see Specifying the address for a Load or Store instruction). Programmers will not normally need to use the LDUR form explicitly, because most assemblers can select the appropriate version based on the offset used.

You do not need to specify a zero-extended load to an X register, because writing a W register effectively zero extends to the entire register width.

Figure 6.5.  Load instructions

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Copyright © 2015 ARM. All rights reserved.ARM DEN0024A