Directives Reference

7.3Data definition directives

This section describes the following directives:

LTORG on page 7-14

Set an origin for a literal pool.

MAP on page 7-15

Set the origin of a storage map.

FIELD on page 7-16

Define a field within a storage map.

SPACE on page 7-17

Allocate a zeroed block of memory.

DCB on page 7-18

Allocate bytes of memory, and specify the initial contents.

DCD and DCDU on page 7-19

Allocate words of memory, and specify the initial contents.

DCDO on page 7-20

Allocate words of memory, and specify the initial contents as offsets from the static base register.

DCFD and DCFDU on page 7-21

Allocate double-words of memory, and specify the initial contents as double-precision floating-point numbers.

DCFS and DCFSU on page 7-22

Allocate words of memory, and specify the initial contents as single-precision floating-point numbers.

DCI on page 7-23

Allocate words of memory, and specify the initial contents. Mark the location as code not data.

DCQ and DCQU on page 7-24

Allocate double-words of memory, and specify the initial contents as 64-bit integers.

DCW and DCWU on page 7-25

Allocate half-words of memory, and specify the initial contents.

DATA on page 7-25

Mark data within a code section. Obsolete, for backwards compatibility only.

ARM DUI 0068B

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

7-13

Page 295
Image 295
ARM VERSION 1.2 manual Data definition directives, DCD and Dcdu on, DCQ and Dcqu on