DCFD and DCFDU

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.

DCFDU is the same, except that the memory alignment is arbitrary.

Show/hideSyntax

{label} DCFD{U} fpliteral{,fpliteral}...

where:

fpliteral

is a double-precision floating-point literal.

Show/hideUsage

The assembler inserts up to three bytes of padding before the first defined number, if necessary, to achieve four-byte alignment.

Use DCFDU if you do not require alignment.

The word order used when converting fpliteral to internal form is controlled by the floating-point architecture selected. You cannot use DCFD or DCFDU if you select the --fpu none option.

The range for double-precision numbers is:

  • maximum 1.79769313486231571e+308

  • minimum 2.22507385850720138e-308.

Show/hideExamples

        DCFD    1E308,-4E-100
        DCFDU   10000,-.1,3.1E26

Show/hideSee also

Concept:

Using the Assembler:

Reference:
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489E
Non-ConfidentialID071611