问题
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.
回答1:
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)
来源:https://stackoverflow.com/questions/34840658/how-to-clear-stack-in-masm32-coprocessor-fpu