Erfahrung mit KeiL C51 Version Version7.xx

Ich nutze den C51-Compiler Version 5.xx. Zur Zeit habe ich das Problem, daß bei meinem Projekt der Code-Speicher voll ist. Zu diesem Projekt sollen aber noch einige Optionen entwickelt werden. Dies würde für mich bedeuten, daß ich ich min. 2 Wochen an Zeit an Optimierung für die neuen Funktionen benötigen würde. So wie ich es bei Keil gelesen habe, macht der C51-Compiler Version 7.xx wohl weniger Code als die älteren Versionen. Nun stehe ich vor dem Problem sollte ich den Code lieber optimieren oder würde es reichen eine neue Compiler Version zu kaufen? Hat jemand Erfahrungen mit dem Compiler gemacht? Wieviel weniger Code wird erzeugt?

Tschau

Reply to
Heine
Loading thread data ...

In article , Heine writes

I don't read German, but judging by the Google translation you appear to be wondering how much code reduction you are likely to get on a LARGE project moving from C51 v5.x to C51 v7.x. We considered this very move on a 256KB code project a while ago for the same reasons and I got the impression at the time that we could save 20% to 30% in code space just from the compiler upgrade although we would probably have had to modify many data/xdata declarations to take advantage of the v7 ability to use both data and xdata overlaying (which v5 didn't). We haven't tried compiling this code on the newer compiler yet.

Reply to
Stephen

Thank you for your fast answer! I hope that my english is not so bad! We have the problem about the mix from assembler and c-code. The old compiler have the problem, that the temp. variable can not shared. So we need a much of memory! Use you in your project only c-code or mix you the code? When you mix the code, can you tell me who many code is write in assembler and who many code is write in c? Thanks

Reply to
Heine

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.