Switched to CC6, full rewrite

Had to get rid of IAR and completely rewrite from scratch. This chip
only has 460 bytes of flash, so you have to get very tricky and the code
is ugly. There is no C startup init to save space.