??? 04/23/06 18:34 Modified: 04/23/06 18:36 Read: times |
#114821 - C vs Assembly Responding to: ???'s previous message |
In general C is easier to program and faster time to market. On the other hand assembly is super fast and used for timing critical applications and pain in the bump to program in.
I just designed an NCO using C and I got maximum frequency of 1kHz. I used pure assembly and I managed to get 50kHz out. I tried to combine the two to get the best of both worlds to see how much speed I get and reuse my c lcd and floating point routines but I got memory problems and looks like my assembly ruins my c variables for I'm accessing long lookup table in assembly under C. So really you have to learn both. some applications are better in C while others are better in assembly, others both if you can get them to work together. Mahmood |