| ??? 12/03/07 13:48 Read: times |
#147786 - Not even then? Responding to: ???'s previous message |
Esko Ilola said:
Another reason is the fact that when the C compiler creates the lookup code it may not be efficient. This also depends on the compiler and also on the target MCU If the target MCU doesn't have an efficient way to implement table lookup, then it won't make any difference whether you use 'C', assembler, or any other language! On the other hand, if the MCU does have an efficient way to implement table lookup - as the 8051 does - and your compiler doesn't use it, then you have a bad compiler. Again: The problem lies in the compiler, not the language. |



