Once the label is straightened out, it may compile without that error, but still won't ever get your UART interrupt. 18 series parts have interrupt vectors at 0x0008 and 0x0018, others have only one interrupt vector at 0x0004, so where did the 0x020 come from? At 01:53 PM 8/22/02 -0500, you wrote: >My guess would be you are re-using the 'Int' label and it doesn't like >that. > >nick@veys.com | www.veys.com > > > -----Original Message----- > > From: pic microcontroller discussion list > > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Michael A. Powers > > Sent: Thursday, August 22, 2002 1:32 PM > > To: PICLIST@MITVMA.MIT.EDU > > Subject: [PIC]: Assembler Errors > > > > > > Hello, > > > > I have a program in which I use two interrupt routines, one > > for Timer 0 and one for Peripheral (UART). My code looks like this: > > > > ;;---------------------------------------------------- > > PAGE > > org 0x000 > > > > goto Mainline > > > > org 0x004 > > > > ;;---------------------------------------------------- > > > > Int > > ; TMR0 Interrupt code > > retfie > > > > ;;---------------------------------------------------- > > org 0x020 ; peripheral interupt > > Int > > ; Peripheral (UART) interrupt code > > retfie > > ;;---------------------------------------------------- > > > > This yields a few assembly errors that I am unfamiliar with. > > It is my understanding that TMR0 interrupts to 0x004 and > > Peripherals interrupt to 0x020, which I have done here. > > However, I get errors to the tune of: > > > > ERROR[118]: ............................. Overwriting > > previous address > > contents (0020) > > > > on the lines for the peripheral interrupt. What does that > > mean? Have I set up these interrupts correctly? > > > > -Mike > > > > -- > > http://www.piclist.com hint: The PICList is archived three > > different ways. See http://www.piclist.com/#archives for details. > > > > > > > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > ------------------------------------------- Mark Samuels ARMA Design Tel:(858) 373-1320 Fax:(858) 373-1325 Email: mark@armanet.com Web: www.armanet.com The information contained in this electronic message is private and may contain privileged, confidential or inside information. Any distribution, copying or forwarding or use of this communication by anyone other than the intended recipient(s) is strictly prohibited and may be unlawful. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.