From: "Hulatt, Jon" > It's not an error, it's a warning- just to let you know that you need to > bank switch. Don't worry about it. You can disable it with a #pragma . You can, but I prefer doing this instead: bsf STATUS, RP0 ;Switch to Bank 1 movlw b'00111011' ;Define I/O on Port A movwf TRISA & 0x7F movlw b'00000101' ;Define I/O on Port B movwf TRISB & 0x7F bcf STATUS, RP0 ;Switch to Bank 0 By ANDing the value with 0x7F, you get rid of the warning message without completely disabling it. This is useful when porting code to a new chip. If an SFR moves from BANK0 to BANK1 then you easily spot the warning messages now showing up. Unfortunately I don't have a clever trick to detect an SFR that moves from BANK1 to BANK0. It has also saved me a fair amount of grief when writing new code. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist