Seeing your code would be nice indeed ;-)
include \masm32\MasmBasic\
MasmBasic.inc ;
download Init fld1
fldl2e
fldl2t
fldlg2
fldln2
fldpi
; with deb macro:
deb 4, "Debug macro:", ST(0), ST(1), ST(2), ST(3), ST(4), ST(5)
; with ordinary Str$(): Inkey Str$("PI=%Jf", ST(0))
fstp st
; don't forget to clear the FPU Exitend start
Output:
Debug macro:
ST(0) 3.14159265358979324
ST(1) 0.693147180559945309
ST(2) 0.301029995663981195
ST(3) 3.32192809488736235
ST(4) 1.44269504088896341
ST(5) 1.00000000000000000
PI=3.141592653589793238