oddbudman said:Everyone seems to be mentioning the fact that ASM gives you better control over code timing. While this is true for routines that need to be accurate down to the CPU clock cycle, many timing critical routines such as comms, etc, can be achieved accurately in C by making use of the microcontrollers timers and some nice tight ISRs.
If you know what your doing ASM is great, but don't reach for it when you don't have to. Thats IMHO anyway.
oddbudman
vale said:In time cricis and limited memory size application, ASM is suitable. Otherwise C is preferable. C is much easier for develpment, mentainance and porting. And a good understanding of ASM is the fundation of high quality of C, especially in MCU programming.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?