I suppose you are using PIC12Fxxx or PIC16Fxxx microcontrollers.
You can read MLAB help file in main menu press Help/Help Contens and type banksel
The help will show:
Application Example 2 - banksel
#include p16f877a.inc ;Include standard header file
;for the selected device.
banksel TRISB ;Since this register is in bank 1,
;not default bank 0, banksel is
;used to ensure bank bits are correct.
clrf TRISB ;Clear TRISB. Sets PORTB to outputs.
banksel PORTB ;banksel used to return to bank 0,
;where PORTB is located.
movlw 0x55 ;Set PORTB value.
movwf PORTB
goto $
end ;All programs must have an end.
BCF STATUS, 5or justBCF RP0- Mikexc.inc? - MikeRP0with5removes the error. How can I replace RP1? - Saul Chavez Sanchez