??? 05/01/06 16:08 Read: times |
#115300 - Please Responding to: ???'s previous message |
>>1. If application requires accuracy of execution, speed, >>optimised resources and THE best results with longer development >>time, ASM is clear winner.
Clear maybe. Precise timing, tightest loops, Yes. But the rest could be done in a HHL. (Like C) >>2. But fast development, Solve speed problem by using fast >>processor, resource problem using onboard XRAM etc., C is better. >> fast development? usually. definiely for beginners. Solve speed problem by using fast processor? No solve it by writting the code properly. resource problem using onboard XRAM etc. No solve it by writting the code properly. I once taught C to an 8051 asm pro. His veiw after looking at the compiler output... It was mostly a wash. The compiler picked up optimizations he missed. He would have done something s better then compiler. The key is do not write PC code for an 8052, then blame the compiler for not shrinking down to PC size. |