pssst... PicMultiCalc do this for you

http://www.mister-e.org/pages/utilitiespag.html

But frankly, i would use DEBUG instead if you don't need multiple serial ports.

If you use the internal OSC... you better forget it...