Cosmic UK Cosmic US Cosmic Germany Cosmic Italia Cosmic France

Cosmic Software Frequently Asked Questions

How do I compile for the HCS12 family of processors?

The Cosmic HC12 compiler has the capability to generate the correct opcodes for the HC12 and HCS12 families of Motorola processors. The default code generation is for the HC12 family and the +mcs option is used for the HCS12 family. This option must be included on the compiler command line or select "Enable Support for MCS12 Processors" from the general compiler options in ZAP.
 CX6812 +mcs  <other options>  foo.c