Compilers for Scenix SX Processors
![]() |
The CCS SXC Compiler C compiler is based on original K&R and is fully optimized for use on these unique parts. Built-in functions make coding the software very easy. The integrated C development environment provides developers a fast method to produce efficient code from an easily maintainable high level language.
Note: The compiler, although based on a 6 year old product, is presently in a Beta test state. Purchases made during this period will include one year of updates. |
||
|
This integrated C development environment gives developers the capability to quickly produce very efficient code from an easily maintainable high level language. The compiler includes built in functions to access the SX hardware such as SET_TIMER1 to write a value to timer 1. Discrete I/O is handled by describing the port characteristics in a PRAGMA. Functions such as INPUT and OUTPUT_HIGH will properly maintain the tri-state registers. Variables including structures may be directly mapped to memory such as I/O ports to best represent the hardware structure in C. The microcontroller clock speed may be specified in a PRAGMA to permit built in functions to delay for a given number of microseconds or milliseconds. Serial I/O functions allow standard functions such as GETC and PRINTF to be used for RS-232 like I/O. The standard C operators and the special built in functions are optimized to produce very efficient code for the bit and I/O functions.
Functions may be implemented inline or separate. Function parameters are passed in reusable registers. Inline functions with reference parameters are implemented efficiently with no memory overhead.
During the linking process the program structure including the call tree is analyzed. Functions that call one another frequently are grouped together in the same page. Calls across pages are handled automatically by the tool transparent to the user. Functions may be implemented inline or separate. RAM is allocated efficiently done by using the call tree to determine how locations can be re-used. Constant strings and tables are saved in the device ROM.
The output hex and debug files are selectable and compatible with popular emulators & programmers for source level debugging.
|
Built-In Functions/Syntax
|
Compiler Features
|
Examples
|
Devices Supported
|
Download
|
Current Software Pricing
|

Amateur Radio Products






