DCFS and DCFSU

The DCFS directive allocates memory for word-aligned single-precision floating-point numbers, and defines the initial runtime contents of the memory. Single-precision numbers occupy one word and must be word aligned to be used in arithmetic operations.

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

Show/hideSyntax

{label} DCFS{U} fpliteral{,fpliteral}...

where:

fpliteral

is a single-precision floating-point literal.

Show/hideUsage

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

Use DCFSU if you do not require alignment.

The range for single-precision values is:

  • maximum 3.40282347e+38

  • minimum 1.17549435e-38.

Show/hideExamples

        DCFS    1E3,-4E-9
        DCFSU   1.0,-.1,3.1E6

Show/hideSee also

Concepts

Using the Assembler:

Reference
Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489F
Non-ConfidentialID091611