如何清除masm32协处理器(FPU)中的堆栈? [英] How to clear stack in masm32 coprocessor (FPU)?

查看:153
本文介绍了如何清除masm32协处理器(FPU)中的堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

masm32 FPU中进行一些操作.但是我无法清除FPU的堆栈,例如之后是ST(0)-ST(7).是否有任何清除堆栈的说明.你能建议什么吗?

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. 假设清除堆栈以进行进一步的计算.

P.S. Suppose to clear stack for further calculation.

推荐答案

您可以使用FINIT初始化FPU并将数据寄存器ST(0)-ST(7)标记为空(它不会清除其内容虽然)

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)

这篇关于如何清除masm32协处理器(FPU)中的堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆