SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Sat Mar 18, 2006 1:49 pm |
|
|
1) No, this is not an ANSI C compiler, it predates ANSI C. It is close to a Kernighan & Ritchie C compiler but it has some changes to fit on small processors. For example the Int is 8 bits, which follows the original K&R idea that the Int should be the natural data width of the processor. Using 16 bit math would introduce too much overhead for common use.
2) You can skip the ready made functions and use C or assembler. People do it all the time. But the strong point of CCS is the ready made functions.
3) Few other MCU C compilers are ANSI compliant either. So porting code from one compiler to another is generally a pain. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|