Fascinating. Looks like I've found a bug in the PUTS_SCI0 routine! It seems to mess up the CCR in certain cases. Namely, the overflow case.