CC1B C compiler

CC1B red_ball.gif (129 bytes)
- supported chips
Examples

CC5X
CC8E
Leanslice
HOME

Version 0.7E 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)

Features

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.

Edition EXTENDED STANDARD FREE DEMO
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 future plan is available.

Download

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.

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.

FREE edition

cc1bfree.exe (~800k) - Windows installation program
cc1bfree.zip (~250k) - ZIP file alternative (manual installation)
Up to 4096 words of code.

Test edition

cc1btest.exe (~800k) - Windows installation program
cc1btest.zip (~250k) - ZIP file alternative (manual installation)
Up to 4096 words of code can be generated, but NO hex file. The assembly file is MODIFIED (labels are not complete). This TEST edition supports 8, 16, 24 and 32 bit integers, fixed and floating point math, leanslice multitasking and FULL optimization (same as EXTENDED edition). This allows code development and conversion of existing applications to check code size.

Demo edition

cc1btask.exe (~800k) - Windows installation program
cc1btask.zip (~250k) - ZIP file alternative (manual installation)
Up to 700 words of code can be generated. Supports 8, 16, 24 and 32 bit integers, fixed point math and FULL optimization. The multitasking libraries are included.

Beta Evaluation

Beta versions of the STANDARD edition can be evaluated.

cc1b-std.exe (~800k) - Windows installation program
cc1b-std.zip
(~250k) - ZIP file alternative (manual installation)

Documentation

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).

Requests

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

End line