浮点数据示例使用Masm [英] Float data example using Masm
本文介绍了浮点数据示例使用Masm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我认为这是完成的
.data
$ p $表达式(例如#define myConst 1.0f)由
myVar REAL4 1.0f
.code
$ b浮点值为REAL4,REAL8或REAL10。 code> myConst EQU 1.0
这些不是特定于任何部分的。
Can somebody give me an example how to define a float number or constant in data section of MASM? Or at least some information about it...
解决方案I think it's done with
.data myVar REAL4 1.0f .code
Floating point values are REAL4, REAL8 or REAL10 in Masm.
Expressions (such as #define myConst 1.0f) are done withmyConst EQU 1.0
These are not specific to any section.
这篇关于浮点数据示例使用Masm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文