??? 04/30/06 14:34 Modified: 04/30/06 15:13 Read: times |
#115249 - Mixed Language Programming Responding to: ???'s previous message |
Dear Mahmood,
My Aproach is a Mixed level Approach, I design My low level drivers(often time critical) in assembly language while all UI kind of things in C. Some ready Made libraries are evolved and optimized very nicely so that its very hard to write routines faster than that in those libraries, C is best options. There are also other issues what Jez points out. I never write inline assembly(just a habbit). Instead i used to generate source from the C source so that my Assembly routine becomes C callable. I am still interested to C if you like what was the problem in the intercall that ruined your variables. Floating point has complex algorithms in comparision to Fixed Point arithmatic but Greater Range by eliminating the problem of unused bits due to that fixed point by changing the decimal position. But if you have a short and predetermined range of the numbers to represent, fixed point is best. Abhishek |