ARM Instruction Reference

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

ARM DUI 0068B

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

4-81

Page 191
Image 191
ARM VERSION 1.2 manual R4,start + = ADD R4,pc,#0xe800