Directives Reference

7.3.7DCDO

The DCDO directive allocates one or more words of memory, aligned on 4-byte boundaries, and defines the initial runtime contents of the memory as an offset from the static base register, sb (r9).

Syntax

{label} DCDO expr{,expr}...

where:

expr

is a register-relative expression or label. The base register must be sb.

Usage

Use DCDO to allocate space in memory for static base register relative relocatable addresses.

Example

IMPORT

externsym

 

 

DCDO

externsym

;

32-bit word relocated by offset of

 

 

;

externsym from base of SB section.

7-20

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

ARM DUI 0068B

Page 302
Image 302
ARM VERSION 1.2 manual Dcdo