Tool/software: TI C/C++ Compiler
I want to use the built-in function $strtod(x). to evaluate a variable at aseemble time from a string .that is part of another structure.
My question is to use built-in functions are:
1. Where to find the complete list of ALL built-in functions as a list ? For example, there is "$pi" and that is not seen documented anywhere in spru513j.pdf. Lots of assembly time string / number processing requirements that can not be achieved from the documented built-in functions can be listed.
2. For example, specifically about, $strtod(x).
I want to use it as $strtod(person.age). rather than $strtod("40").
where:
personStruct .struct
name .string 30
age .string 2
strLen .endstruct ; size = 32
person .tag personStruct
I evaluate like below a new label (variable ageNumber)
ageNumber: .word $strtod(person.age)
How to achieve what I want?
Any help?
Thanks
Sayee