SPRUI03E June 2015 – January 2023
Initialize Double-Precision Floating-Point Value
.doublevalue1 [, ... , valuen]
The .double directive places the IEEE double-precision floating-point representation of one or more floating-point values into the current section. Each value must be an absolute constant expression with an arithmetic type or a symbol equated to an absolute constant expression with an arithmetic type. Each constant is converted to a floating-point value in IEEE double-precision 64-bit format. Double-precision floating point constants are aligned to a double word boundary.
The 64-bit value is stored in the format shown in Figure 6-5.
When you use .double in a .struct/.endstruct sequence, .double defines a member's size; it does not initialize memory. For more information, see the .struct/.endstruct/.tag topic.
This example shows the .double directive.
1 00000000 2C280291 .double -2.0e25
00000004 C5308B2A
2 00000008 00000000 .double 6
0000000c 40180000
3 00000010 00000000 .double 456
00000014 407C8000