5.3.9 .double value1[, ..., valuen]
Assembles one or more double-precision (64-bit) floating-point constants into consecutive addresses in little-endian format.
If in a code (executable) section, the upper program memory byte will be
filled with the last .fillupper
value specified or the
NOP
opcode (0x00) if no .fillupper
has been
specified.
Floating point numbers are in IEEE format (see Section 3.4.1.2 “Floating-Point Numbers.”).
The following statements are equivalent:
.double 12345.67
.double 1.234567e4
.double 1.234567e04
.double 1.234567e+04
.double 1.234567E4
.double 1.234567E04
.double 1.234567E+04
It is also possible to specify the hexadecimal encoding of a floating point constant. The following statements are equivalent and encode the value 12345.67 as a 64-bit double-precision number:
.double 0e:40C81CD5C28F5C29
.double 0f:40C81CD5C28F5C29
.double 0d:40C81CD5C28F5C29