5.8.23. DCFD directive

The DCFD directive allocates memory for word-aligned double precision floating-point numbers, and defines the initial runtime contents of the memory. Double precision numbers occupy two words and must be word aligned to be used in arithmetic operations.

Syntax

The syntax of DCFD is:

{label} DCFD fp-constant{,fp-constant}...

where:

fp-constant

is a double precision floating-point value in one of the following forms:


{-}digits E{-}digits
{-}{digits}.digits{E{-}digits}

E may also be written in lowercase.

Usage

The assembler inserts up to three bytes of padding before the first defined number, if necessary, to achieve 4-byte alignment. Use DCFDU if you do not require alignment.

The range for double precision numbers is:

  • Maximum 1.79769313486231571e+308

  • Minimum 2.22507385850720138e–308

Examples

		DCFD 		1E308,-4E-100 
		DCFD 		10000,-.1,3.1E26
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0041C
Non-Confidential