4 ms·
> Although an 8-bit processor, the compilers (like Keil which is now owned by ARM) are quite good. Quite good? Keil's compiler is horrible. It produces large (
by vardump 10y ago
> Although an 8-bit processor, the compilers (like Keil which is now owned by ARM) are quite good.
Quite good? Keil's compiler is horrible. It produces large (2x too big) slow (2-4x too slow) binaries.
- kbeckmann 10y agoWhich compiler would you recommend using instead?
- vardump 10y agoI don't think there's a competent 8051 C compiler.
- pkaye 10y agoCompared to what?
- vardump 10y agoCompared to handcoded assembler. To the level comparable to gcc -O3.
- pkaye 10y agoHandcoded assembly is slower to develop and it depending on the capabilities of the developer so there are tradeoffs. And is gcc available for an 8051?
- vardump 10y agoLike I said, I wish 8051 had some good compiler. Like gcc. No disagreement there that handcoded assembly is slower to develop! You do get code size below 50% and it runs twice as fast.