Question
C vs. assembly
Posted on November 07, 2015 at 21:15
Hi. I'm interested in that how you are programming - in C or in assembly language?
What are really benefits of assembly in contrast to C? Speed of code execution probably? How much faster it is, if you compare the same code written in assembly with that written in C with enabled all of optimization (level 3 in Keil and checked ''optimize for time'').Also, when you move from one core to another (let say from Cortex M3 to M4), you have to learn many new instructions, don't you? #32-bits-of-a-bus #assembly-language