We've found that the variety of data types offered by the compiler is
of paramount importance to the ease and effectiveness of embedded
programming. Having lots of data types makes implementing your
programming solution easier. It also removes a big source of error:
the hand-optimization needed to encode data in assembly programs.
Starting in 2007 we're offering a large variety of fixed point data
types in new releases of our compilers. Fixed point data types handle
fractional values ("Fractional" types) and occasionally types with
This reference design demonstrates the new thread-based programming style that we created to complement the RS08, but it's used on an HC08.
There's only so much debugging information an LED or LCD display can report. What's worse, embedding debugging code in the executable can provoke misuse, while stripping it out can cause heisenbugs.
Your C compiler can help manage debugging information for you in a way that doesn't interfere with your product. Here's how: