ARM > Introduction to ARM > Addressing Modes
Examples of Addressing Modes
- LDR r0,[r1,#4]- Load word addressed by R1+4.
 
- STR r0,[r1],#4- Store R0 to word addressed by R1. Increment R1 by 4.
 
- LDR r0,[r1,#4]!- Load word addressed by R1+4. Increment R1 by 4.
 
- LDRLS pc,[r1,r0,LSL #2]- Jump table idiom: load routine address into PC from R1 + R0 * 4.
 
Remarks
The <address> form is a pseudo instruction: the assembler generates a PC-relative LDR or STR.
For halfword and signed halfword/byte instructions, which were later additions to the instruction set, the offset is restricted and can be:
- an unsigned 8-bit immediate value, or
- an unshifted register.