I got the UART_BAUD macro from piclist.com and it was driving me insane. Since I couldn't figure out how to get MPASM to print values from macros I did a lot of trial and error testing intermediate calculation values. FINALLY I realized that the problem was that the default base in MPASM isn't decimal. A few dozen d'...' later (including on the argument to the macro) and now it gets the right answer. Wow, that sucked. Don't let it happen to you. -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.