5.3.11 .float value1[, ..., valuen]
Assembles one or more single-precision (32-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 4.4.1.2 Floating-Point Numbers).
The following statements are equivalent:
.float 12345.67
.float 1.234567e4
.float 1.234567e04
.float 1.234567e+04
.float 1.234567E4
.float 1.234567E04
.float 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 32-bit double-precision number:
.float 0e:4640E6AE
.float 0f:4640E6AE
.float 0d:4640E6AE