This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Assembly programming - yes, no, when, how to start, ... ??

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

Parents
  • 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.

Reply
  • 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.

Children