...think fuzzy:
Fuzzy using HC12 Microcontrollers
Inform are the makers of fuzzyTECH, a suite of fuzzy development tools available for many different targets. Read the article Demonstration Model of fuzzyTECH Implementation on Motorola 68HC12 MCU