How to clear stack in masm32 coprocessor (FPU)?

2019-09-19 02:44发布

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.

标签: masm32 fpu
1条回答
小情绪 Triste *
2楼-- · 2019-09-19 03:20

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)

查看更多
登录 后发表回答