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.