This is an FAQ covered at: http://204.210.50.240/techref/default.asp?url=microchip\mplab\msg302.htm James Newton mailto:jamesnewton@geocities.com phone:1-619-652-0593 http://techref.homepage.com NOW OPEN (R/O) TO NON-MEMBERS! Members can add private/public comments/pages ($0 TANSTAAFL web hosting) PIC/PICList FAQ: http://www.piclist.com -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Aaron Sent: Wednesday, December 08, 1999 4:07 PM To: PICLIST@MITVMA.MIT.EDU Subject: MPLAB 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