How to clear stack in masm32 coprocessor (FPU)?

风格不统一 提交于 2020-01-06 19:55:22

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!