Assembler

Does anyone drop down to assembler for getting the most out of the processor ? For stuff like bit shifting, assembler has the advantage of being able to act upon carry - which you lose inside c/c++.

it does pop up in time critical applications ... wish I knew more about asm but there does not seem to be any good free noobie material online about it for any specific cpu (least that I have found)

Does anyone drop down to assembler for getting the most out of the processor ? For stuff like bit shifting, assembler has the advantage of being able to act upon carry - which you lose inside c/c++.

Sometimes yes, but very often these functions are wrapped in inline functions to be able to easily mix them with C code. Also, before doing assembler programming, I always look at the assembly produced by the C compiler. It's often quite good and not worth optimising further. And with a little changes it's often also possible to make things easier on the optimiser.

Korman

This site as lot of asm code for avr's:
http://www.avrbeginners.net/

thanks, I shall check that out