enpassant wrote: > I get the following error message and can't figure out why? I suspect > it may have to do with the difference in the memory layout between > chips??? Not between the 16C84 and 16F84 it isn't! It's a general warning. Read the archives, searching for the term "bank". There's nothing wrong with the code, but in this case, it would be far easier to use a preset mask with the TX bit cleared and MOVLW TXOFF followed by TRIS PORTA in this case, and another mask with the TX bit set later in the code to do the same thing. The main reason Peter Anderson's code *doesn't* do this, is that it is a generic "snippet" and you need to determine the masks I suggest by considering the other bit functions in port A. Generality leads to sloppy code. > How can I fix this. You suppress message 302 by putting errorlevel -302 at the start of the code. While you're at it, please add errorlevel -224 into the start of your code or better still, into the P16F84.INC include file, so that you never get the psychotic error message [224] from using the essential TRIS instruction. -- Cheers, Paul B.