Hello!
I don't think there can be any definite reply to that kind of question. But I think it doesn't
make much sense today to program in assembly.
- There is absolutely nothing that you can do in assembly and cannot do in C
- Today's compilers are so optimized that it becomes always more difficult to compete with
a compiler when it's time to generate your code.
- Assembly is not portable. At least less portable than C.
My approach would be as follows:
- Write everything in C / C++
- When you want to really improve a highly repetitive routine, then compile it, open a disassembler
window and check what it does. At this point, in case you want to improve a particular section,
you can copy the assembler code, replace your C code with the _asm() routine, and modify the
texte in the asm routine.
NB: I don't do it often, so I'm not sure of the _asm() syntax.
Dora