ARM VERSION 1.2 User Manual

Page 191

Advertising
background image

ARM Instruction Reference

ARM DUI 0068B

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

4-81

If

expr

is program-relative, it must evaluate to an address in the same code section as the

ADRL

pseudo-instruction. Otherwise, it might be out of range after linking.

Example

start MOV r0,#10
ADRL r4,start + 60000 ; => ADD r4,pc,#0xe800
; ADD r4,r4,#0x254

Advertising