18-348 Final Project. Written for a Freescale MC9S12C128.