176
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.double — Generate Floating-Point Data
Syntax
.double
operand [, operand ] . . .
Description
operand
Specifies a floating-point symbol or floating-point constant. No
forward references are allowed.
The .double directive generates TI BCD floating-point data. The values of the
specified operands are placed in 10 bytes beginning at the current location in the
current section. A warning is issued if the alignment is odd.
Examples
_PI:
.double 3.141592653589793
; 4000 3141 5926 5358 9793
.double 0X40003141592653589793
; 4000 3141 5926 5358 9793
.double -10,.2
; c001 1000 0000 0000 0000
; 3fff 2000 0000 0000 0000
Each of the above examples is shown with the sequence of words (in
hexadecimal) that it generates.