At 02:31 PM 8/22/02 -0400, you wrote: >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: I'll assume you've got the interrupt vector addresses right... >;;---------------------------------------------------- >PAGE > org 0x000 > > goto Mainline > > org 0x004 > >;;---------------------------------------------------- > >Int > ; TMR0 Interrupt code > retfie If there is code there that is more than 28 words long you'll emit code for address 0x20 and perhaps higher addresses. >;;---------------------------------------------------- > org 0x020 ; peripheral interupt >Int > ; Peripheral (UART) interrupt code >retfie >;;---------------------------------------------------- Then you come back and try to set those addresses to something else, and you get error message(s), starting at address 0x20. If this is the problem, just put the code somewhere else and jump to it like you did with the reset vector. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com 9/11 United we Stand -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.