1 ;; test float numbers and constants 2 .text 3 ;; Standard GAS syntax 4start: ldf 0e0, f0 5 ldf 0e2.7, f0 6 ldf 0e2.7e1, f0 7 ldf 0e2.7e-1, f0 8 ldf 0e-2.7e1, f0 9 ldf 0e-2.7e-1, f0 10 ldf -0e1.0, f0 11 12 ;; Standard TI syntax 13 ldf 0, f0 14 ldf 0.0, f0 15 ldf 0.5, f0 16 ldf -0.5, f0 17 ldf 2.7, f0 18 ldf 2.7e-1, f0 19 ldf -2.7e1, f0 20 ldf -2.7e-1, f0 21 22FLOAT: .float 0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654 23SINGLE: .single 0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654 24DOUBLE: .double 0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654 25LDOUBLE: .ldouble 0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654 26IEEE: .ieee 0f0, 0f1.0, 0f0.5, 0f-1,0, 0e-1.0e25, 3, 123, 0f3.141592654 27 28 .end 29