Doing some operations in masm32 FPU
. But I'm not able to clear the stack of FPU e.g. ST(0)-ST(7) afterwards. Is there any instruction for stack clearing. Can you suggest anything?
P.S. Suppose to clear stack for further calculation.
Doing some operations in masm32 FPU
. But I'm not able to clear the stack of FPU e.g. ST(0)-ST(7) afterwards. Is there any instruction for stack clearing. Can you suggest anything?
P.S. Suppose to clear stack for further calculation.
You can use
FINIT
which initializes the FPU and tags the data registers ST(0)-ST(7) as empty (it does not clear their contents though)