CC1B C compiler

CC1B red_ball.gif (129 bytes)
- supported chips


Version 0.7F beta

  • Supports Ubicom SX devices (SX18/20/28 + SX48/52)
  • Compact code
  • CC5X compatibility

Specific Enhancements

  • supports all SX instructions
  • SX instruction format
  • up to 16 RAM banks
  • tables and structures larger than one ram bank is supported (SX48/52)


The CC1B C compiler supports all SX instructions and generates optimized code. The code efficiency that have put CC5X in a leading position for over 10 years also applies to CC1B.

The compiler supports 8, 16, 24 and 32 bit variables, signed and unsigned, including single bit variables, compiler generated layout of local variables, automatic ram bank updating. Many files can be generated (hex, assembly, list, error, function outline, variable list). The compiler supports structures and unions, bitfields, typedef, typecast, arrays and pointers.

Fixed and floating point math is available. The floating point math (16, 24 and 32 bit). The library code is compact and fast. Code can be optimized for size or speed.

The code generated by CC1B can be inspected at the example page.

The EXTENDED edition also supports LEANSLICE multitasking. This combination is really powerful. At 75 MHz, the SX devices will be able to schedule up to 5 tasks EACH microsecond!

The table shows the differences between the compiler editions.

Code size (instructions) 4096 4096 4096 700
Integer variables 8, 16, 24, 32 bit 8, 16, 24 bit 8, 16 bit 8, 16, 24, 32 bit
Floating point variables 16, 24, 32 bit 24, 32 bit 24 bit -
Fixed point variables 8, 16, 24, 32 bit 8, 16, 24 bit - 16, 24 bit
Leanslice multitasking Included - - Included

Further Plan

The development of CC1B has been stopped. Infrequent updates are still possible.


The downloadable packages contains example code and txt files. The compiler is a 32 bit console application that can be started from the command line and from many IDE applications.

The system requirements, user interface and installation are similar to the CC5X compiler.

Download the file by using the right mouse button (browser dependent), and select Save Link As or Save Target As to save the file. Then start or unzip it.

Beta Evaluation

Beta versions of the STANDARD edition can be evaluated. (~1 MB) - Windows installation program (~0.5 MB) - Alternative without installation (a single folder with all compiler files). NOTE that copying the compiler from this ZIP file (no installation) means that the compiler will not know where to find the include files. The -I compiler option should then be used to locate the supplied include files.


The downloadable packages contain files README.TXT and SX.TXT plus other files. In addition, the PDF manual for CC5X provides general information (although not all sections applies and some instructions and registers are different).


You can send your request to :
Please state CC1B in the Subject field of the e-mail.
Note that the compiler is NOT available for ordinary sale.

End line