STANDARD Or EXTENDED Edition Of CC5X Compiler

Skip to main content Forum for Electronics Continue to Site Forum for Electronics
  • Forums New posts Search forums
  • Best Answers
  • What's new New posts New media New media comments New blog entries New resources New profile posts New blog entry comments Latest activity
  • Media New media New comments Search media
  • Blogs New entries New comments Latest reviews Blog list Author list Search blogs
  • Help
  • Rules
Log in Register What's new Search

Search

Everywhere Threads This forum This thread Search titles and first posts only Search titles only By: Search Advanced search…
  • New posts
  • Search forums
Menu Log in Register Navigation Install the app Install How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

More options Contact us Close Menu

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in
  • Digital Design and Embedded Programming
  • Microcontrollers
You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser. STANDARD or EXTENDED edition of CC5X Compiler
  • Thread starter petro_Mejia
  • Start date Dec 10, 2013
Status Not open for further replies. P

petro_Mejia

Banned
Newbie level 4 Joined Feb 11, 2012 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 0 I ported one of my PIC-14 projects to few C Compilers & here are the results--
PICC(3.249) - ROM: 2492 Words, RAM: 91-114, Stack 7+1 WIZ-C(14) - ROM: 2444 Words, RAM: 123, Stack 6+1 HT-PIC(9.50 PL2)- ROM: 1959 Words, RAM: 113, Stack 5+2 CC5X(3.2N RED) - ROM: 1593 Words, RAM: 94, Stack 4+2 Click to expand...
All the compilers were configured for maximum optimization level. Though CC5X has some limitations like single dim array, simplified math expressions etc, it seems that when all other things are equal, CC5X is clearly a winner. Last edited by a moderator: Mar 16, 2014 L

luchezar

Newbie level 4
Newbie level 4 Joined Mar 16, 2014 Messages 5 Helped 2 Reputation 4 Reaction score 2 Trophy points 3 Activity points 34
petro_Mejia said: I ported one of my PIC-14 projects to few C Compilers & here are the results-- All the compilers were configured for maximum optimization level. Though CC5X has some limitations like single dim array, simplified math expressions etc, it seems that when all other things are equal, CC5X is clearly a winner. Click to expand...
I have ported a project to several compilers too, and found out the same. CC5X is clearly the winnner, even its free edition! Comparing the free edition with the test edition of CC5X, one finds out that the latter optimises even more. By studying the difference between the code generated by the two editions, one can find out what the most frequent extra instructions in the code generated by the free edition are. (These instructions are not present in the code generated by the test edition.) Having found out what these instructions are and carefully studying the documentation, one can discover a method to improve the code generated by the free edition so that very few extra instructions remain. These can also be removed by studying the documentation further, and slightly changing the code in the respective places where these extra instructions are generated. So the code generated by the free edition can be made identical to the code generated by the test edition, and hence by the standard and extended editions! The code generated by CC5X is so good that an assembly programmer could hardly code it better. So we owe huge thanks to Bengt Knudsen for making this marvelous compiler! :) Last edited: Mar 17, 2014 betwixt

betwixt

Super Moderator
Staff member Advanced Member level 7 Joined Jul 4, 2009 Messages 16,508 Helped 5,157 Reputation 10,347 Reaction score 5,208 Trophy points 1,393 Location Aberdyfi, West Wales, UK Activity points 139,601 Even in December 2013 when the message was posted, Wiz-C was up to version 17.02 so perhaps a comparison with latest versions would be useful. Strange that Microchip's own XC8 compiler wasn't tested as well. Brian. L

luchezar

Newbie level 4
Newbie level 4 Joined Mar 16, 2014 Messages 5 Helped 2 Reputation 4 Reaction score 2 Trophy points 3 Activity points 34
betwixt said: Even in December 2013 when the message was posted, Wiz-C was up to version 17.02 so perhaps a comparison with latest versions would be useful. Strange that Microchip's own XC8 compiler wasn't tested as well.Brian. Click to expand...
As far as I remember, WIZ-C lacks a command-line compiler. Instead, the compiler is integrated with the GUI environment. I don't like this, so I didn't test it. Tests done by the original poster show that it doesn't optimise very well anyway. As to XC8, this is simply the new name of HI-TECH C, after Microchip bought it. :) betwixt

betwixt

Super Moderator
Staff member Advanced Member level 7 Joined Jul 4, 2009 Messages 16,508 Helped 5,157 Reputation 10,347 Reaction score 5,208 Trophy points 1,393 Location Aberdyfi, West Wales, UK Activity points 139,601 You can use WIZ-C from the CLI, it has it's own 'make' utility like most othe compilers. I find it easier to work from the GUI though, even if only to add the files to the project window without using the other GUI facilities. WIZ wins hands down when it comes to debugging, it's by far the fastest and most comprehensive debugger I've ever used. The new 'MX' version has even more debugging functionality but seems to be less user friendly in the GUI department. XC8 is the replacement for Hi-TECH but has a number of significant differences, I'm not sure it would produce the same code as before, in fact even the different versions of XC8 seem to produce different code from each other! Brian. ALERTLINKS

ALERTLINKS

Advanced Member level 4
Advanced Member level 4 Joined Dec 13, 2003 Messages 1,258 Helped 396 Reputation 786 Reaction score 380 Trophy points 1,363 Location Pakistan Activity points 7,263 And what about BoostC compiler? http://www.sourceboost.com L

luchezar

Newbie level 4
Newbie level 4 Joined Mar 16, 2014 Messages 5 Helped 2 Reputation 4 Reaction score 2 Trophy points 3 Activity points 34
betwixt said: You can use WIZ-C from the CLI, it has it's own 'make' utility like most othe compilers. Click to expand...
Sorry, I didn't know that. I remember that I tested the free version and it didn't seem to have a command-line compiler. Perhaps only the professional version has one? The manual (http://www.fored.co.uk/html/Manual.pdf) mentions only it in Chapter 16 "Command Line interface" on page 152. Or maybe there is a single executable file which can work both with CLI and GUI?
XC8 is the replacement for Hi-TECH but has a number of significant differences, I'm not sure it would produce the same code as before, in fact even the different versions of XC8 seem to produce different code from each other! Click to expand...
That's true. I've tested XC8 and found out that it generates slightly larger code than the older HI-TECH C. L

luchezar

Newbie level 4
Newbie level 4 Joined Mar 16, 2014 Messages 5 Helped 2 Reputation 4 Reaction score 2 Trophy points 3 Activity points 34
ALERTLINKS said: And what about BoostC compiler? http://www.sourceboost.com Click to expand...
The size of the code it generates is roughly the same as for HI-TECH C. M

milan.rajik

Banned
Advanced Member level 5 Joined Apr 1, 2013 Messages 2,524 Helped 540 Reputation 1,078 Reaction score 524 Trophy points 1,393 Activity points 0 What is standard edition? I know about free and test editions. L

luchezar

Newbie level 4
Newbie level 4 Joined Mar 16, 2014 Messages 5 Helped 2 Reputation 4 Reaction score 2 Trophy points 3 Activity points 34
milan.rajik said: What is standard edition? I know about free and test editions. Click to expand...
Standard (€160) and Extended (€320) editions are the paid editions. Free and test editions are the gratis editions. Status Not open for further replies.

Similar threads

  • E [PIC]16F887 > CAN > External voltage référence of 1,1 V or 1,2
    • Started by Eric_O
    • Feb 6, 2024
    • Replies: 26
    Microcontrollers
  • andre_luis Extended temperature microcontrollers ( 150o C - Operation )
    • Started by andre_luis
    • Mar 10, 2023
    • Replies: 4
    Microcontrollers
  • denny9167 Over-coding, or just sloppiness?
    • Started by denny9167
    • Jun 3, 2024
    • Replies: 12
    Microcontrollers
  • E [PIC]How do I access special characters in Standard Character Pattern
    • Started by Ernie H
    • Dec 3, 2023
    • Replies: 1
    Microcontrollers
  • S Short circuit of some pins of STM32H743VI
    • Started by Saeedk9574
    • Jul 14, 2024
    • Replies: 1
    Microcontrollers

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

  • Digital Design and Embedded Programming
  • Microcontrollers
  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register. By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…
Back Top

Từ khóa » Cc5x