Microchip
直播中

尚文清

7年用户 1624经验值
私信 关注
[问答]

Hitech c vs xc8编译器优化

嗨,GuySi有这个项目使用PIC16F83,它几乎满了!我需要添加一些新的代码,但我需要空间…现在该项目使用HiTeC C编译器。我会通过切换到XC8 Pro获得任何东西吗?

以上来自于百度翻译


      以下为原文

    Hi guys
I have this project using a pic16f883 and it is nearly full!
I need to add some New code but i need space...
Right now the project uses the hitech c compiler.
Would i gain anything by switching to xc8 pro?

回帖(5)

贾飞小

2019-1-15 14:17:38
也许,很难改变PIC本身到一个新的更大的内存,但仍然兼容您的PIC16F83。

以上来自于百度翻译


      以下为原文

    Maybe, will it be difficult to change the PIC itself to a newer with more memory but still compatible with your pic16f883.
举报

王丽娟

2019-1-15 14:28:56
我考虑切换到具有双闪存的PIC16F86,但问题是我正在开发一个ADDON模块到现有的板上,并且我想把这个模块卖给已经用PIC16F83购买主板的人…如果我能使软件适合,我可以提供一个软件升级与插件模块。把所有的单元都叫回进行硬件升级是很乏味的:

以上来自于百度翻译


      以下为原文

    I considered switching to the pic16f886 which has double flash memory, but the problem is that i am developing an addon module to the existing board and i want to sell this module to People Who already bought the main board with the pic16f883...
If i can get the software to fit, i can offer a software upgrade together with the addon module. It would be tedious to have to call All units back for a hardware upgrade :(
举报

王璨

2019-1-15 14:47:41
XC8的Pro模式或多或少是HiTHE实现的。(我认为HiTeCH用户被Microchip吸收了)所以我不希望通过改变编译器来进行任何重大的改变。根据你的能力,可以优化实现(源代码)本身来缩小它。但这确实是关于能力和能力的,因为83并不是“巨人”,我们可以通过PM继续讨论——如果你感兴趣的话。

以上来自于百度翻译


      以下为原文

    The PRO mode of XC8 is more or less what the Hitech implementation did. (I thing the Hitech people were "absorbed" by Microchip.) So I would not expect any significant change by changing the compiler.
Depending on your capabilities it might be possible to optimize the implementation (source code) itself to shrink it. But this is really about ability and capability 
 
As the 83 is not that "giant", we might continue some discussion via PM - provided you are interested.
举报

陈晨

2019-1-15 15:05:23
你在使用高科技专业吗?如果是的话,可能不会。如果你正在使用免费,那么是的,你可以下载XC8编译器并激活EVE模式并尝试。如果你有一个后期版本的高科技,它应该编译很少的变化。

以上来自于百度翻译


      以下为原文

    Are you using Hi-Tech pro?  if yes that probably not.  If you are using free then yes by alot.
You can download the XC8 compiler and activate the Eval Mode and try.  If you have a later version of Hi-Tech it should compile with few changes.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分