HOWEVER -- the program would not compile because there is an undeclared variable, by the name of RTCC. It appears to me that RTCC and TMR0 are the same, and so this is not a big thing. Except that I am curious as to why they called it RTCC. Is this a historical thing? Did TMR0 used to be called RTCC? The data sheet for the 16C54 makes no mention of RTCC. Yes, it's historical. My 1992 databook mentions only RTCC and no TMR0. Now I'm sorta wishing I'd saved my 1984 databook as well, although it looks like not much happened between 84 and 92. I guess they didn't change the names till they introduced a PIC with more than one timer... BillW -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.