Quentin wrote: >Zantos >That is just an iritating warning to tell you that the register is in >Bank1. I would not recommend it now, as you are still learning PIC's, >but later on once you are sure you are selecting the correct banks, you >can put in: >ERRORLEVEL -302 >at the top of your code to switch this message off. > Rather than turning this warning off globally, I'd suggest switching it it on and off as you switch banks. Having the warning active will catch inadvertent operations with alternate bank registers. I try to avoid all warnings (if at all possible). This way I don't have to 'read past' warnings that I *know* are bogus. It's just too easy to miss a new warning in the midst of a bunch that you've seen dozens of times before. (Please don't ask how I know this. :=) It was a long and painful lesson. A real 'Duh!' on my part.) . . bsf STATUS, RP0 ; alternate register bank ERRORLEVEL -302 . do any alternate bank register ops, warnings are supressed . bcf STATUS, RP0 ; back to normal bank ERRORLEVEL +302 . . Just my $0.02, Bob _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics