I agree with Thomas there is no any error just as a warning! I'm working with PIC17C75X and the same warning occurs and the programs work as well. So I guess the same happen with u. Regards, Ismael M. Khangane, Instituto de Automatica Industrial IAI-CSIC. Spain. Thomas C. Sefranek escribis: > Aaron wrote: > > > I am getting errors when compiling the following > > > > PAGE0 > > CLRF PORTA > > CLRF PORTB > > PAGE1 > > CLRF TRISA > > MOVLW b'00001010' > > MOVWF TRISA > > CLRF TRISB > > > > I am programming a 16f873 and have got the pages defined as: > > #DEFINE PAGE0 BCF STATUS,RP0 > > #DEFINE PAGE1 BSF STATUS,RP0 > > > > when compiling i get the message > > Message[302] A:\ECU.ASM 108 : Register in operand not in bank 0. Ensure > > that bank bits are correct. > > > > what am i doing wrong > > > > aaron > > Nothing! IT is a warning not an error. > > -- > Thomas C. Sefranek WA1RHP > ARRL Instructor, Technical Specialist, VE Contact. > http://www.harvardrepeater.org > http://hamradio.cmcorp.com/inventory/Inventory.html