This directory contains some miscellaneous snippets of code. They are
meant to provide a feel for how to use fractional arithmetic with a C
compiler and for how to use inline functions to advantage.

The files are not well documented but if you study them a bit I hope
you will get an idea for how useful the compiler can be. Some time
needs to be invested in developing libraries of routines and header
files (I've started you off with 'sin', 'cos', etc.) and I encourage
you to share your creations with the net.

In particular, note the implementation of 'memcpy' in 'memory.h' for an
example of efficient in-line code using the asm() directive. Also note
how quickly and easily the 'abs' and 'fabs' routines are implemented
in 'math.h'.

As you can tell I am a proponent of fractional numbers and do not
like it when floating-point data types are imposed upon a fixed-point
processor by the compiler (that was a cheap shot at Motorola :-).

Please don't assume that the contents of these files have been well
tested. They are examples only.



