??? 07/20/09 21:55 Read: times |
#167634 - It is worth exploring C properly Responding to: ???'s previous message |
Richard Erlacher said:
It means attention to detail at the lowest level, and that's where the process often breaks down. The reason I repeat, time and again, that one who can't program a task in ASM can't program it, is that ASM forces the programmer to concern him/herself with the lowest-level details. One who's learned to do it in ASM recognizes those low-level details and ensures that they're properly dealt-with before considering his work complete. It's easy to overlook lowest-level details when the language allows you to do that. RE I have been vaguely following this thread, and come to various conclusions: 1. RE has not used Keil C. (personally, I have only ever tried the evaluation) 2. RE has not written a full application in C of any flavour. Even the comments about SDCC do not ring quite true. 3. RE is an excellent ASM programmer of 8051 and probably several other obsolete micros. 4. RE has not ever "seriously" used a PIC, AVR, ARM, Renesas, ... Different architectures and platforms suit different applications. However fond one may be of one micro, it does not mean that it is always the ideal solution. Of course one's preference is to use the familiar platform if at all practical. I see no problem with mentioning HLL's or other micros. It may well be that the sheer topic invites an elegant 8051 solution. A clearly thought out design is far more important than a messy ASM code. And those cell-phones with a limited market life evolve into the next generation. Code re-use becomes essential as systems get bigger. Einstein would struggle with porting or maintaining systems of that size in ASM. David. |