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