This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问一下,下面一段代码有何用意?
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath_fpu32.lib<IQNexpTable.obj> (IQmathTablesRam)
}
IQmathTablesRam : > RAML4, PAGE = 1
IQmath_fpu32.lib<IQNexpTable.obj> (IQmathTablesRam) 这段代码是什么意思
楼主查看一下文档C:\ti\controlSUITE\libs\math\IQmath\v160\doc
里面有这个说明
The 2833x and 2823x boot ROM includes the IQNexpTable used by the IQNexp() and
IQexp() functions. In this case the IQNexpTable can be placed into its own section and
identified as type NOLOAD as shown in the next example.
ERIC
先谢谢了
还不太清楚,The remainder of the IQmathTablesRam section is allocated to SARAM.
为什么要加这样一段代码?IQmath_fpu32.lib<IQNexpTable.obj> (IQmathTablesRam),如果不加的话,会怎么样?下面是我在别处看到的:
Uncomment the section below if calling the IQNexp() or IQexp() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible
还有就是IQmath Library和数学表的关系,如果调用IQmath Library中的数学函数的话,就会给函数分配地址,是所有的函数都会分配吗?额,我的理解。。。
此外数学函数计算的话是会用到数学表的
求解惑