legacy wrote:
Also, gcc-11 is very bloated about the asm code it generates from C
I've had a bit of (dated) gcc-11 experience-- of course it's 32bit nature will look bad if you compare it to 16bit compilers. One of the biggest mistakes by newbs is inappropriately using 32-bit signed ints everywhere. The first experiences in embedded programming is getting your casts right. (The second is not linking in whole of libc..)
When I did the unsigned char magic on my 68hc11 robot code, the resulting object output actually looked rather nice. (And the optimizer in gcc was great for feedback to improve the code..)