> This is my first attempt at using a PIC. I thought I'd start out simple and > grow from there. I tried writing a small program in MPASM to send the word > "Hello" out the USART on a F877, but with no luck. I was wondering if > someone could take a look at it, and tell me what I'm doing wrong. In general you need to be more concious of the register bank setting. I noticed you did set bank 1 at one point, but you need to make sure the bank is correct for all the SFRs except the few that are mapped accross banks (like INTCON, INDF, etc). I like to do this with macros that set the bank approriately given a memory address. That eliminates errors manually setting RP0 and RP1. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads