Hello again.
As I am very interested in learning ARM architecture, I would have few questions regarding assembly programming. Questions refer primarily to programming Cortex-M processors, because they are the only one which I am using (at least for now).
So... Do you program in C or assembly and why that? How do you suggest to start learning assembly programming? Do you think that the gain of execution time is big enough to justify time spent for assembly programming instead of C programming (with full optimization). Because in my case, processing time is quite important. Do you maybe only use intrinsics in special cases? Or inline/embedded assembly?
Every hint is very welcome and appreciated. Thank you in advance.
Regards,
Matic
Hi,
I think you say about not C++ but C.
If it is correct, I don't feel there would be so big differences between C and the assembler.
I think they are almost the same.
Also, the processing time would be almost the same.
Bt the way, in the Cortex-M world, almost all things are describable by C.
I cannot find big advantages to use the assembler.
Mr. Jens Bauer might have another opinion because he like the assembler very much. I can also respect his works in this community.
Best regards,
Yasuhiko Koumoto.
Thank you Mr. Koumoto. Yes, I am programming in C, not C++.