ARM Instruction Reference

4.9ARM pseudo-instructions

The ARM assembler supports a number of pseudo-instructions that are translated into the appropriate combination of ARM or Thumb instructions at assembly time.

The pseudo-instructions available in ARM state are described in the following sections:

ADR ARM pseudo-instructionon page 4-79

Load a program-relative or register-relative address (short range)

ADRL ARM pseudo-instructionon page 4-80

Load a program-relative or register-relative address into a register (medium range)

LDR ARM pseudo-instruction on page 4-82

Load a register with a 32-bit constant value or an address (unlimited range)

NOP ARM pseudo-instruction on page 4-84

NOP generates the preferred ARM no-operation code.

4-78

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 188
Image 188
ARM VERSION 1.2 manual ARM pseudo-instructions, ADR ARM pseudo-instructionon, Adrl ARM pseudo-instructionon