Hallo Johann,
Actually I write C and C++ code bigger systems for living.
Ya, but on such systems you won't dive into generated assembly and
propose library changes when you come across a pair of instructions you
don't need in your specific context :-P
True. Also, in big software systems co
Marko Mäkelä schrieb:
Hallo Johann,
When you need optimizations at a lever where 2 instructions matter,
then it's very likely you need a project specific start-up code and
linker description anyway. For example, you might truncate the vector
table after the last vector used by the applicatio
Hallo Johann,
When you need optimizations at a lever where 2 instructions matter,
then it's very likely you need a project specific start-up code and
linker description anyway. For example, you might truncate the vector
table after the last vector used by the application.
Good idea, thanks!
Marko Mäkelä schrieb:
I am trying to move from assembler to C programming on the AVR while
avoiding unnecessary overhead. I see that crt1/gcrt1.S contains the
following code:
.section .init9,"ax",@progbits
#ifdef __AVR_ASM_ONLY__
XJMPmain
#else/* !__AVR_ASM_ONLY__ */
XCALL